运行 ❯
拥有你自己的 Python 服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
#The finally block gets executed no matter if the try block raises any errors or not: try: print(x) except: print("Something went wrong") finally: print("The 'try except' is finished")
出错了
'try except' 完成了