Вот что я пробовал:
Код: Выделить всё
fx=input("Enter a Polynomial: ")
x=float(input("At which position should the polynomial be evaluated: "))
while True:
print(eval("fx"))
continue
Подробнее здесь: https://stackoverflow.com/questions/408 ... -in-python