Commit c2eb9e5c by BellCodeEditor

save project

parent 80fdf130
Showing with 6 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: \ No newline at end of file
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