3 Answers
+ 10
Moosa Abdullah , can you gives some examples what you want to achieve? thanks!
+ 2
Moosa Abdullah
from sympy import symbols,solve,Eq
x=symbols('x')
exp=Eq((x + 2*x + 3*x),180)
sol=solve(exp)
print(sol[0])
The source which helped to understand how to use sympy ,
https://www.geeksforgeeks.org/degrees-and-radians-in-JUMP_LINK__&&__python__&&__JUMP_LINK/amp/
though you should use official documentation as a reference .
+ 1
Something like using the geometry theorem rules to solve a problem with python..
Eg : the angles of a triangle are x, 2x and 3x. Find the value of x in degrees..
Would be great to get the step by step process in python