摘要: 绑定方法 绑定给对象的方法 class Student(): school = 'SH' def __init__(self, name, age, gender): # self:对象自己 self.name = name self.age = age self.gender = gender ' 阅读全文
posted @ 2023-06-26 16:12 吼尼尼痛 阅读(14) 评论(0) 推荐(0) 编辑