16.WAP to accept time in minutes .Convert it into hours and minutes

CODE:

minutes=int(input("Enter time in minutes\n"))

h=minutes//60

m=minutes%60

print("Total time in hours is",h," and minutes is",m)

OUTPUT:

Enter time in minutes
125
Total time in hours is 2 and minutes is 5

Comments

Popular posts from this blog