Helps with Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Helps with Python

I am a beginner of Python but I tried out a lot of other languages, how can I create an equation solver? Only for first grade ones I don't need second third and so on, just a simple equation solver at one unknown Please if you know the answer answer and include an example so I can understand how to do that Thanks!

13th Jan 2021, 5:44 PM
Stefano De Angelis
Stefano De Angelis - avatar
2 Answers
0
I need to solve this equation and my unknow is t but the other are input so I can't give you a value x * t = z - y * t
13th Jan 2021, 6:30 PM
Stefano De Angelis
Stefano De Angelis - avatar
0
sympy can do it but you need to declare the variables. Check the very good documentation of sympy and ask here a question if if you get in trouble.
13th Jan 2021, 10:21 PM
Manuel Maier
Manuel Maier - avatar