Commit 036b1c2c by BellCodeEditor

save project

parent f737a008
Showing with 6 additions and 14 deletions
def nnn():
total = []
while True:
try:
unit= int(input("请输入:"))
except:
break
else:
total.append(unit)
return total
print(nnn())
\ No newline at end of file
def sum(money):
count=0
for i in money:
count=count+i
return 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