x = int(input()) # задаем X
if (x >= -2.4) and (x <= 5.7):
print(x * x)
else:
print("4")
x=int(input('x='))
if x>=-2,4 and x<=5,7:
f=x**2
f=4
print(f'f(x) = {f}')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
x = int(input()) # задаем X
if (x >= -2.4) and (x <= 5.7):
print(x * x)
else:
print("4")
x=int(input('x='))
if x>=-2,4 and x<=5,7:
f=x**2
else:
f=4
print(f'f(x) = {f}')