- 1. Input, print and numbers
- 2. Integer and float numbers
- 3. Conditions: if, then, else
- 4. For loop with range
- 5. Strings
- 6. While loop
- 7. Lists
- 8. Functions and recursion
- 9. Two-dimensional lists (arrays)
- 10. Sets
- 11. Dictionaries
- 12. JavaScript
- 13. HTML5 and CSS
- 14. Responsive Design with Bootstrap
- 15. jQuery
Ad place
Clock face - 2
Statement
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.Advertising by Google, may be based on your interests
In all the problems input the data using input()
and print the result using print()
.
12# Read an integer:# a = int(input())XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Input:
1190XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output:
1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Saved solutions
Tests
Input | Correct answer | |
---|---|---|
190 | 120 | |
0 | 0 | |
5 | 60 | |
10 | 120 | |
15 | 180 | |
20 | 240 | |
25 | 300 | |
29 | 348 | |
30 | 0 | |
31 | 12 | |
40 | 120 | |
59 | 348 | |
60 | 0 | |
61 | 12 | |
70 | 120 | |
89 | 348 | |
90 | 0 | |
95 | 60 | |
179 | 348 | |
190 | 120 | |
192 | 144 | |
300 | 0 | |
359 | 348 | |
1 | 12 | |
132 | 144 | |
0.5 | 6 | |
0.0001 | 0.0012 | |
73.2938 | 159.526 | |
119.994 | 359.928 | |
120.005 | 0.06 | |
231.3452 | 256.142 |