Commit 59d29261 by BellCodeEditor

save project

parent a8261768
Showing with 34 additions and 9 deletions
total = [] def sum(money)
while True: count=0
unit= input("请输入:") for i in money:
if unit== 'q': count=count+i
break return count
else:
total.append(unit)
print(total)
\ 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