For example:
for i in range(0, 10): print(i/0.0)
But:
for i in range(-10, 10): print(i/0.0)
And:
for i in range(-10, 10): print(i/i)
For example:
In this case it should probably print +inf when i == 0.But:
Now it is not clear, but at least we know it's an infinity so perhaps we need a special value +-inf.And:
In this case, the value for 0/0 can be 1.