mirror of
https://github.com/micropython/micropython.git
synced 2025-07-23 05:51:10 +02:00
10 lines
146 B
Python
10 lines
146 B
Python
try:
|
|
1 // 0
|
|
except ZeroDivisionError:
|
|
print("ZeroDivisionError")
|
|
|
|
try:
|
|
1 % 0
|
|
except ZeroDivisionError:
|
|
print("ZeroDivisionError")
|