39.9k views
2 votes
c complete the function definition to return the hours given minutes. output for sample program when the user inputs 210.0: 3.5

User Simulacre
by
6.3k points

1 Answer

5 votes

Answer:

def get_hours(minutes):

return minutes / 60.0

print(get_hours(210.0)) # Output: 3.5

User Wsplinter
by
6.0k points