from math import exp, log as ln, sqrt
s = 'Ошибка ввода!'
while True:
try:
x = float(input('x: '))
if x < 0.: print(s)
elif x == 0.: print(0)
else: print(abs(x*ln(x)-4/7)*sqrt(x)*exp(0.22-0.8*x))
except: print(s)
import math
x = int(input())
answer = (abs(x * math.log(x, math.e) - 4 / 7) * math.sqrt(x)) / (math.e ** (4 * x - 1.1)) * (1 / 5)
print(answer)
Если не ошибаюсь, то так