LearnPy Hub
← Operators problems
Medium

Minutes Between Two Times

Read two times as HH:MM on the same day (the second is not earlier). Print the number of minutes between them.

Input

Two lines.

Output

One integer.

Sample 1

Input
09:15
10:45
Output
90

Sample 2

Input
00:00
23:59
Output
1439
solution.py
Output appears here
Minutes Between Two Times · Python practice problem · LearnPy Hub