Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Minutes to Hours

Given total_minutes = 135, compute the hours and remaining minutes.

Your output should be:

text
2 hours and 15 minutes

Hint: Use // for integer division and % for remainder.

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python
total_minutes = 135

# Compute hours and remaining minutes, then print