Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
try: x > 3 except: raise Exception("Something went wrong") print("The program stops when an error is raised.")
Traceback (most recent call last):
File "demo_ref_keyword_try.py", line 4, in <module>
raise Exception("Something went wrong")
Exception: Something went wrong