kuroko/test/testRuntimeException.krk

9 lines
111 B
Plaintext
Raw Normal View History

2021-01-04 15:44:16 +03:00
import time
2020-12-29 05:00:12 +03:00
try:
2021-01-04 15:44:16 +03:00
time.sleep()
2020-12-29 05:00:12 +03:00
except:
print("oh no! " + exception.arg)
2020-12-29 05:00:12 +03:00
print("Back from try/except")