会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
SuraSun
博客园
首页
新随笔
联系
订阅
管理
2018年9月27日
Day18--Python--面向对象--类与类之间的关系
摘要: class Elephant: def __init__(self, name): self.name = name def open(self, ref): print('冰箱开门吧') ref.open_door() def close(self, ref): print('冰箱关门吧') re
阅读全文
posted @ 2018-09-27 17:37 SuraSun
阅读(590)
评论(0)
推荐(0)
编辑
公告