Gxlsystem TIY Editor
Gxlsystem 在线教程
改变方向
暗黑模式
python_ref_keyword_except_2.py:
# (x > 3) will raise an error because x is a string and 3 is a number, and cannot be compared using a '>': x = "hello" try: x > 3 except NameError: print("You have a variable that is not defined.") except TypeError: print("You are comparing values of different type")