How to change float('inf') representation?
I want to change float(‘inf’) representation -> ∞, can u help me with it? I try to use this, but it didn’t work class Inf(float(‘inf’)): def __repr__(self) -> str: return ‘∞’ inf=Inf() those, when I use print() I want to see ‘∞’ instead ‘inf’ I want result like in from sympy import oo but get… Read More How to change float('inf') representation?