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
()
Dear CS10-Gitlab-users, on Wednesday, April 3rd 2024 there will be maintenance on the power grid. This will lead to a downtime of the CS10 Gitlab including Mattermost chat starting from 06:00 until around 13:00.
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
()