I'm currently trying to let a user input their own equation for my calculator. If I run it with just my own equation, it works perfectly, however I can't get it to work from a user input. Any advice? Thanks This part of the code works
def function(x):
equation = 3*exp(x)
return equation
When I change to a user input, It doesn't
def function(x):
equation = input('Insert your equation)
return equation