Ответ:
1)
x = int(input())
if x < 0:
print(x ** 2)
elif x > 0:
print(x ** 3)
2)x = int(input())
if x > 0:
print(2 * x - 10)
else:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
1)
x = int(input())
if x < 0:
print(x ** 2)
elif x > 0:
print(x ** 3)
2)x = int(input())
if x > 0:
print(2 * x - 10)
else:
print(x ** 2)