Fork me on GitHub
  2019年12月23日
摘要: # class OldboyPeople:# school = 'oldboy'# def __init__(self,name,age,gender):# self.name=name# self.age=age# self.gender=gender# def tell_info(self):# 阅读全文
posted @ 2019-12-23 20:57 OBOS 阅读(178) 评论(0) 推荐(0) 编辑
摘要: # 广度优先# class A(object):# def test(self):# print('from A')# class B(A):# def test(self):# print('from B')# class C(A):# def test(self):# print('from C 阅读全文
posted @ 2019-12-23 20:53 OBOS 阅读(202) 评论(0) 推荐(0) 编辑
摘要: # class Animal:# def eat(self):# pass# def run(self):# pass## class People(Animal):# def eat(self):# print('people is eating')# def run(self):# print( 阅读全文
posted @ 2019-12-23 16:56 OBOS 阅读(107) 评论(0) 推荐(0) 编辑
摘要: # class OldboyPeople:# school = 'oldboy'# def __init__(self,name,age,gender):# self.name=name# self.age=age# self.gender=gender# def tell_info(self):# 阅读全文
posted @ 2019-12-23 12:30 OBOS 阅读(187) 评论(0) 推荐(0) 编辑