Ответ:
Не понятно : |
h = int(input())
a = int(input())
b = int(input())
if a > 0:
current_zero = h - a
else:
current_zero = h + a
if current_zero < 1:
current_zero = current_zero + 24
current_b = current_zero + b
if current_b < 1:
current_b = current_b+24
print(current_b)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Не понятно : |
h = int(input())
a = int(input())
b = int(input())
if a > 0:
current_zero = h - a
else:
current_zero = h + a
if current_zero < 1:
current_zero = current_zero + 24
current_b = current_zero + b
if current_b < 1:
current_b = current_b+24
print(current_b)