主页
Python
Python else 关键词
demo_ref_keyword_else2
运行 ❯
×
更改方向
保存代码
更改主题
x = 5 try: x > 10 except: print("Something went wrong") else: print("The 'Try' code was executed without raising any errors!")
The 'Try' code was executed without raising any errors!