In Python 2, None
type is considered smaller than anything, so for any arbitrary number x
we have:
>>> None < x
True
Is there anything that behaves similarly for Python 3, as this was removed/fixed? Given an arbitrary number in Python 3, is there an object type that is always considered smaller than x
?
2