"Clock face - 2: Hour hand turned by α degrees since the midnight. Determine the angle by which minute hand turned since the start of the current hour. Input and output in this problems are floating-point numbers. " - Python coding question

 

 


 

CODING QUESTION

Hour hand turned by α degrees since the midnight. Determine the angle by which minute hand turned since the start of the current hour. Input and output in this problems are floating-point numbers.

 

SOLUTION

h=float(input())
h=h%30
print(h*12)

 

Input : 190

Output : 120.0