Spavanac
This commit is contained in:
7
spavanac.py
Normal file
7
spavanac.py
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
h, m = map(int, input().split())
|
||||||
|
|
||||||
|
if m < 45:
|
||||||
|
h = (h - 1) % 24
|
||||||
|
m = (m - 45) % 60
|
||||||
|
|
||||||
|
print(f"{h} {m}")
|
||||||
Reference in New Issue
Block a user