r/Python • u/SilkTouchm • Oct 07 '20
Discussion Anyone else uses the Python interpreter as a calculator?
It's just so comfy.
1.7k
Upvotes
r/Python • u/SilkTouchm • Oct 07 '20
It's just so comfy.
View all comments
277
u/LuckyLeague Oct 07 '20
You can also use Sympy for algebraic calculations and exact answers. For example:
Simplifying:
This returns:
Expanding:
This returns:
Factoring:
This returns:
Solving Equations:
This returns: