a = int(input('a: '))
if a > 0 and a < 20:
y = a + 20
print(y)
elif a > 20 and a < 200:
y = a * a * a
else:
print('a - не подходит условиям!')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a = int(input('a: '))
if a > 0 and a < 20:
y = a + 20
print(y)
elif a > 20 and a < 200:
y = a * a * a
print(y)
else:
print('a - не подходит условиям!')