Am Donnerstag, 28. Dezember 2017 12:59:24 UTC+1 schrieb Chris Angelico: > On Thu, Dec 28, 2017 at 8:38 PM, Nico Vogeli <nicco.9...@gmail.com> wrote: > > Withs test, this return a correct value for the two x functions: > > > > from sympy import symbols > > > > x = symbols('x') > > f1 = eval(input('function 1 ')) > > f2 = eval(input('function 2 ')) > > > > What are you typing as input? It's hard to grok your code without knowing > that. > > ChrisA
I'm sorry! User input would look like this for example: x**2 + 3*x or x**3 Regards Nicco -- https://mail.python.org/mailman/listinfo/python-list