Commit b36e6651 by BellCodeEditor

save project

parent b6da993c
Showing with 10 additions and 9 deletions
total = [] def count():
while True: total = []
unit= input("请输入:") while True:
if unit== 'q': price= input("请输入:")
break if price=='q':
else: break
total.append(unit) total.append(price)
print(total) print(total)
\ No newline at end of file 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