Fork me on github
摘要: # 组合:自定义类的对象作为另外一个类的属性class Teacher: def __init__(self,name,age): self.name = name self.age= aget1=Teacher('bob',17)class Student: def __init__(self,n 阅读全文
posted @ 2019-04-19 16:44 khan369 阅读(153) 评论(0) 推荐(0)