from sympy import symbols,solve,Eq
exp=Eq((x + 2*x + 3*x),180)
The source which helped to understand how to use sympy ,
though you should use official documentation as a reference .
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