Commit 32abd458 by BellCodeEditor

save project

parent afc13947
Showing with 4 additions and 4 deletions
def new_imput(): def new_imput():
total = [] total = []
while True: while True:
money = input("请输入:") money = input("请输入:")
if money== 'q': if money== 'q':
break break
else: else:
try: try:
...@@ -13,8 +13,8 @@ def new_imput(): ...@@ -13,8 +13,8 @@ def new_imput():
total.append(unit) total.append(unit)
print("-"*30) print("-"*30)
return total return total
result = new_imput() result = new_imput()
print(result) print(new_imput())
#pen=turtle.Pen()# 报菜名 #pen=turtle.Pen()# 报菜名
# 悟空和诺依到了一家特色餐馆,这家餐馆最大的特色就是有个自动报菜名机器人 # 悟空和诺依到了一家特色餐馆,这家餐馆最大的特色就是有个自动报菜名机器人
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment