SyntaxFix
Write A Post
Hire A Developer
Questions
Also if you use SymPy you can use sympy.oo
sympy.oo
>>> from sympy import oo >>> oo + 1 oo >>> oo - oo nan
etc.