write a python programe to accept hours from the user and display equivalent minutes
Answers
Answered by
4
hours = int(input("Enter the number in hours : "))
minutes = hours * 60
print(f"{hours} hours in minutes is {minutes}")
please mark as brillant
Answered by
1
print is the keyword in python programming language . It print anything which is written within it .
input takes the input from the user in the form of string .
int converts the input into integer form .
Similar questions