micropython/tests/basics/int-divzero.py

5 wiersze
73 B
Python

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