摘要: 转自:https://www.runoob.com/note/41154 class Cat: """定义一个猫类""" def __init__(self, new_name, new_age): """在创建完对象之后 会自动调用, 它完成对象的初始化的功能""" # self.name = " 阅读全文
posted @ 2021-05-22 11:02 sixinshuier 阅读(125) 评论(0) 推荐(0) 编辑