Files
python/ora2/ora2.py

14 lines
207 B
Python
Raw Normal View History

2021-11-25 14:33:56 +01:00
most = input()
ebreszto = input()
nap = 0
ebresztes = most + ebreszto
a = True
while a:
if(ebresztes > 24):
ebresztes -= 24
nap += 1
else:
a = False
print(ebresztes)