logo image

Python program to convert hours to minutes

Views: 391

Following program shows you how to convert hours to minutes. In this program we get hours from user once we get those we need to multiply with 60 so that we get in minutes

hours = int(input("Please enter hours:"))
minutes = hours * 60
print(minutes, " Minutes")


Please enter hours: 7
420  Minutes
We are looking for Interns!
Send your resumes to
[email protected]