参考:https://stackoverflow.com/questions/57258281/typeerror-init-takes-2-positional-arguments-but-4-were-given
MyBook(title,author,price)
will pass four arguments: (self, title, author, price)
会多了一个self的参数
james_karon 博主文章分类:LeetCode ©著作权
参考:https://stackoverflow.com/questions/57258281/typeerror-init-takes-2-positional-arguments-but-4-were-given
MyBook(title,author,price)
will pass four arguments: (self, title, author, price)
会多了一个self的参数
上一篇:[MySQL]ERROR 1822 : Failed to add the foreign key constraint. Missing index for
下一篇:[MySQL]Error when foreign referencing in mySQL (Error 3780)
【LeetCode】39. 组合总和
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M