Problem: some constant expressions are neither Float,Integer,Rational and don't have arguments.
>>> from sympy import * >>> isinstance(pi, Integer) False >>> isinstance(pi, Float) False >>> isinstance(pi, Rational) False >>> pi.args ()
00:02:21
5 years ago
No artifacts found
00:03:41