返回顶部

Python 报错“TypeError: School() takes no arguments”

Python 报错“TypeError: School() takes no arguments”

现象

 

 原因

__init__输入成__int__

 

 解决方案

 

 

 

posted @ 2023-03-12 22:15  九尾cat  阅读(73)  评论(0编辑  收藏  举报