Split Signed Time Offsets

Convert a signed integer number of minutes relative to a schedule into [whole_hours, remaining_minutes]. Use floor division and modulo by 60, so the remainder is always between 0 and 59. For example, -1 minute is [-1, 59].

Difficulty: beginner

Examples

  • [125][2,5]

Your solution

Python

Results

Python starts when you run or submit this challenge.

Back to Lesson