摘要:
# Author Eric Zhao # -*- coding:utf-8 -*-class User(): ''' 用户类 ''' def __init__(self,first_name,last_name,username,email,location): ''' 初始化属性 first_na 阅读全文
posted @ 2019-05-24 14:13
跃渊而出
阅读(215)
评论(0)
推荐(0)
摘要:
# Author:Eric Zhao# -*- coding:utf-8 -*-'一个可用用于表示汽车的类'class Car(): def __init__(self,make,model,year): '初始化描述汽车的属性' self.make = make self.model = mode 阅读全文
posted @ 2019-05-24 14:09
跃渊而出
阅读(351)
评论(0)
推荐(0)
摘要:
# Author Eric Zhao # -*- coding:utf-8 -*-class Restaurant(): """ 餐馆类 """ def __init__(self,restaurant_name,cuisine_type): """ 始化属性 restaurant,cuisine_ 阅读全文
posted @ 2019-05-24 14:07
跃渊而出
阅读(197)
评论(0)
推荐(0)
摘要:
# Author Eric Zhao # -*- coding:utf-8 -*-class Restaurant(): """ 餐馆类 """ def __init__(self,restaurant_name,cuisine_type): """ 始化属性 restaurant,cuisine_ 阅读全文
posted @ 2019-05-24 14:04
跃渊而出
阅读(41)
评论(0)
推荐(0)
浙公网安备 33010602011771号