Inpinity

We'll cover the following...

The spelling is intended. Inpunity is also acceptable.

⚠️ The following code is meant for Python 3.x versions.

Press + to interact
infinity = float('infinity')
print("Hash of inf: ", hash(infinity))
print("Hash of -inf: ", hash(float('-inf')))

Explanation

  • Hash of infinity is 105×π-10^5 \times \pi
...