摘要: #coding:utf8class Car(object): ''' 模拟汽车的简单尝试 ''' def __init__(self, make, model, year): ''' 初始化汽车的属性 :param make: :param model: :param year: ''' self. 阅读全文
posted @ 2018-11-07 17:52 菜菜_包包 阅读(470) 评论(0) 推荐(0) 编辑
摘要: class User(object): def __init__(self, first_name, last_name, login_attempts): self.first_name = first_name self.last_name = last_name self.login_atte 阅读全文
posted @ 2018-11-07 17:51 菜菜_包包 阅读(1701) 评论(0) 推荐(0) 编辑