首页 > 编程语言 >Python 报错“TypeError: School() takes no arguments”

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

时间:2023-03-12 22:23:40浏览次数:43  
标签:__ School TypeError takes no 报错

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

现象

 

 原因

__init__输入成__int__

 

 解决方案

 

 

 

标签:__,School,TypeError,takes,no,报错
From: https://www.cnblogs.com/weiweirui/p/17209377.html

相关文章