我们可以在一个 except 子句里指定并处理多个异常。except 语句在指定多个异常时要求异常被放在一个元组里
try:
try_suite
except (Exception1, Exception2)[as reason]:
suite_for_Exception1_and_Exception2