from sympy import * init_printing() x = symbols(\'x\') my_ex = x**2 print(my_ex)
Output:
x**"
Hoped for a nice