摘要: class Bird: def __init__(self): self.hungry = True def eat(self): if self.hungry: print('我饿了') else: print('不饿,谢谢')class SongBird(Bird): def __init__( 阅读全文
posted @ 2020-06-05 09:11 一日学一日功 阅读(790) 评论(0) 推荐(0) 编辑