def F(x:float):
if x > 0: return 2*x-10
elif x < 0: return 2*x-1
else: return 0
print('y =', F(float(input('Введите x: '
def F(x:float):
if x > 0: return 2*x-10
elif x < 0: return 2*x-1
else: return 0
print('y =', F(float(input('Введите x: '