I have a program where i have an input and want to calculate it (eg input = "3+2**5) and I would like to know if there`s any package to calculate it easily.
x = "5*70 y = x.calculate() print(y)"
just a simple example
I have a program where i have an input and want to calculate it (eg input = "3+2**5) and I would like to know if there`s any package to calculate it easily.
x = "5*70 y = x.calculate() print(y)"
just a simple example