ID EN
Built-in Exceptions

ZeroDivisionError

Python 3.11

Raised when the second argument of a division or modulo operation is zero. The associated value is a string indicating the type of the operands and the operation.

Syntax

PYTHON
exception ZeroDivisionError