赞
踩
#coding UTF-8
# version = version_1_2
today_menu = ["今天菜单如下","1 宫保鸡丁","2 青椒鸡米粒" ,"3 白萝卜焖肉", "4 蒜薹腊肉", "5 豆腐包肉 ",
"6 鲤鱼跃龙门", "7 凉拌莲藕", "8 红烧南瓜", "9 大白菜", "10 青菜", "11 荷包蛋(另加2元)", "12 蛋炒饭(10元)"]price =[0,0,12,0,0 ,10 ,13,0,9,11,14,0,10,0,15,0]
def getTodayMenu():
return today_menu
def showTodayMenu(interable):
for today_menu_details in today_menu :
print(today_menu_details)
def showCombineNote():
print("提示:一荤一素10,两素菜9元,一荤两素11,,三素菜10,两荤菜12,两荤一素13,两荤两素14,两荤三素15元")
print("请输入您点餐的编号,编号之间用逗号分开,不同份数之间用空格隔开n例如输入1,9,10 2,6,8 3,10,谢谢 : ")
def dealWithUserInput():
user_choise = input()
user_choise_list = user_choise.split()
price_total = 0#用price
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。