Kodewick
Start learning →
Starter←→0 / 100

Hours and minutes

#078StarterNumbers3 min

This cartoon film runs minutes 135 minutes. The hours are done for you: work out the minutes left over, rest, then show hours and rest on one line.

Should show
2 15
main.py
minutes = 135
hours = minutes // 60

# your code here: work out rest, then print(hours, rest)
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.