GUI user input to function

Chris Angelico rosuav at gmail.com
Thu Dec 28 06:58:55 EST 2017


On Thu, Dec 28, 2017 at 8:38 PM, Nico Vogeli <nicco.9537 at 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


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /