a = int(input("Введите число: "))
if a % 2 == 0 and a <= 10 or a >= 20:
print(a**2)
else:
print(a)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a = int(input("Введите число: "))
if a % 2 == 0 and a <= 10 or a >= 20:
print(a**2)
else:
print(a)