在学习Python中出现:TypeError: Role() takes no arguments错误

def  __init__(self):

注意:1、方法的使用是在 “init” 前后 加上两个“_”,而不是一个。2、是可能是“init”写成了“int

在学习Python中出现:TypeError: Role() takes no arguments错误_第1张图片 

 

你可能感兴趣的:(学习,python)