Solve problem "Clock face - 1" online - Learn Python 3 - Snakify

Problem «Clock face - 1» (Hard)


Statement

H hours, M minutes and S seconds are passed since the midnight (0 ≤ H < 12, 0 ≤ M < 60, 0 ≤ S < 60). Determine the angle (in degrees) of the hour hand on the clock face right now.

In all the problems input the data using input() and print the result using print().



Saved solutions

Tests

Input Correct answer Result
1
2
6
31.05
1
0
0
30
0
1
0
0.5
0
2
0
1
0
2
1
1.00833
0
0
1
0.00833333
11
59
59
359.992
7
18
49
219.408
4
54
55
147.458
9
9
37
274.808