Hello BP
error when interpreting '=' on python syntax
solve(a*x^2+b*x+c=0,x,'=') [enter] please use "..." for strings
solve(a*x^2+b*x+c=0,x,"=") [enter] fsolve(equal(a*x**2+b*x+c,0),x,"=")
'=' python syntax
Modérateur : xcasadmin
-
- Messages : 558
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: '=' python syntax
Replace '=' by equal. It's difficult to guess what '' really means in Python syntax.
-
- Messages : 558
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: '=' python syntax
solve(a*x^2+b*x+c=0,x,equal) [enter] ok