"""
1、
TypeError: a() missing 2 required positional arguments: 'self' and 'c'
答: TypeError:a()缺少2个必需的位置参数:“self”和“c”
1.1
TypeError: person() missing 1 required positional argument: 'age'
答:TypeError:person()缺少1个必需的位置参数:“年龄”

2、
AttributeError: 'function' object has no attribute 'c'
答:AttributeError:“函数”对象没有属性“c”
AttributeError:属性错误
3、
TypeError: testname() takes no arguments
答: TypeError:testname()不接受任何参数

4、
ZeroDivisionError: division by zero
答:0不能被整除

5、ValueError: invalid literal for int() with base 10: 'a'
答:值错误;

6、
FileNotFoundErrOr 文件找不到错误

7、IndexError 下标越界错误

"""
posted on 2022-03-17 19:15  zhx-  阅读(149)  评论(0)    收藏  举报