2018年12月1日

摘要: #1.接口类,对象类。规范类中方法的统一。 # 第一版:三个类,每个类中有相同的方法 # class Alipay: # def __init__(self,money): # self.money=money # def pay(self): # print('用支付宝支付了{}钱'.format(self.money)) # class JD... 阅读全文

posted @ 2018-12-01 16:09 飞行的蟒蛇 阅读(149) 评论(0) 推荐(0) 编辑