I have been developing in python for sometime and it occurs to me that from a practical point of view 1/0 = 1, in that 1 isn’t being divided at all.

When I write in provisions for ZeroDevisionError’s this is what i have returned, the numerator value as the result.

I understand that the standard for 1/0 is either undefined or infinite, as a value cannot be divided by zero, that division is infinite.

However, from a practical point of view if i was to divide a value by zero, I would not be effecting it, i.e: divide a pencil zero times, which is no different then to say do nothing.

I feel like this should be the excepted output, rather then raising an error.

x/0 = x