micropython/tests/basics/int_divzero.py

5 lines
73 B
Python

try:
1 // 0
except ZeroDivisionError:
print("ZeroDivisionError")