Ask the user for a number of minutes. Tell them how long that is in hours. I am kinda new to python and still trying to figure out some of the basics but no matter what I try nothing works so please help.
>Solution :
The basic steps:
# prompt for input and convert from str to int
minutes = int(input("minutes:" ))
# minutes: 135
# do the math
hours, minutes = divmod(minutes, 60)
# produce output of some kind
print(f"{hours}:{minutes}h")
# 2:15h
Docs on some utils: