Ответ:
1)
a = int(input())
if a > 10:
a = a / 2
elif a <= 10:
a = a * 5
print(a)
2)
b = int(input())
c = a + b
if c > 100:
c = c / 2 else:
c = c * 2
print(c)
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
1)
a = int(input())
if a > 10:
a = a / 2
elif a <= 10:
a = a * 5
print(a)
2)
a = int(input())
b = int(input())
c = a + b
if c > 100:
c = c / 2 else:
c = c * 2
print(c)
Объяснение: