mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
ab2923dfa1
Signed-off-by: Damien George <damien@micropython.org>
10 lines
145 B
Python
10 lines
145 B
Python
try:
|
|
1 / 0
|
|
except ZeroDivisionError:
|
|
print("ZeroDivisionError")
|
|
|
|
try:
|
|
0**-1
|
|
except ZeroDivisionError:
|
|
print("ZeroDivisionError")
|