Write a program to take time in hours and minutes to the equivalent total minutes.
Answers
Answered by
0
Answer:
The codes are:
________________________
hour=float(input("Enter the number of hours: "))
print("The total number of minutes in", hour, "hours will be", 60*hour,".")
_________________________
Answered by
1
print(f"minutes: {(hrs := float(input('hours: '))) * 60}")
Similar questions