LearnPy Hub
← Arena
EasyRating 1000

Angle Between the Hands

Print the smaller angle in degrees (1 decimal) between the hour and minute hands at time HH:MM.

Input

One time HH:MM.

Output

An angle.

Sample 1

Input
03:00
Output
90.0

Sample 2

Input
12:30
Output
165.0
solution.py
Output appears here
Angle Between the Hands · Python Arena problem · LearnPy Hub