摘要: class Anmail(object): def __init__(self,name): self.name=name def talk(self): return "Anmail talking" class Dog(Anmail): def __init__(self,name,age): 阅读全文
posted @ 2018-10-18 11:02 王亚锋 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: utf-8 -*- 2 # @Time : 2018/10/17 11:02 3 # @Author : wangyafeng 4 # @Email : 279949848@qq.com 5 # @Software: PyCharm 6 7 8 class Father(object): 9 def __init__(se... 阅读全文
posted @ 2018-10-18 09:49 王亚锋 阅读(727) 评论(0) 推荐(0) 编辑