micropython/tests/float/int-divzero.py

5 lines
72 B
Python

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