x = int(input('Напишите значение x: '))
if x < 0:
print('y =',x+50)
elif x > 0:
print('y =',x**3)
else:
print('y =',15)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
x = int(input('Напишите значение x: '))
if x < 0:
print('y =',x+50)
elif x > 0:
print('y =',x**3)
else:
print('y =',15)