x = int(input())
if x>0:
print('y =',x-15)
elif x<0:
print('y =',x**2)
else:
print('y =',7)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
x = int(input())
if x>0:
print('y =',x-15)
elif x<0:
print('y =',x**2)
else:
print('y =',7)