How can I parse a string input into the proper form for it to be executed as mapping regulation in a lambda function?
fx=type(input("Enter a polynomial: "))
This is my input, I want to enter arbirtray polynomials.
f= lambda x: fx
Now i want my lambda function to be able to execute the strings from the input function just as if they were normal mapping regulations like x**2
for instance.