Why does 0**0 equal 1 and 0/0 raise a zero division error in Python?
Asked by
Alexandros
If you type 0**0<Enter> in the Python interpreter, the number 1 will be printed.
If you type 0/0<Enter>, however, a zero division error is raised.
Why does this happen?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Ilya Barygin
- Solved:
- Last query:
- Last reply:
To post a message you must log in.