Commit c22a2f1a by BellCodeEditor

auto save

parent 7eaed43a
Showing with 10 additions and 0 deletions
def count():
total = []#收集菜品价格
while True:
price= input("请输入价格:") #在控制台输入价格
if price=='q':
break
total.append(price)
print(total)
count()
\ No newline at end of file
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