语法: 1)try: except: ... 2)try: except: ... else: 3)try: finally: 4)用户自定义异常 class classname(RuntimeError): 5)raise自动触发异常