Commit b36e6651 by BellCodeEditor

save project

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