write a python program to input time in minutes and print the result in hours and minutes
Answers
Answered by
2
Question:-
Write a program in python to input time in minutes and print the result in hours and minutes.
Code:-
min=int(input("Enter time in minutes: "))
hour =min/60
min=min-(hours*60)
print(hour, " Hours and ",min, " minutes. ")
Similar questions