Commit a4103dd3 by BellCodeEditor

save project

parent 63a5bebb
Showing with 23 additions and 0 deletions
def new_input():
total=[]
while True:
unit=input('有话快说,有屁快放!')
if unit=='q':
break
else:
try:
unit=int(unit)
except:
print('大SB,跟李浩一样!')
else:
total.append(unit)
finally:
print('________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________')
return total
def sum(money):
count=0
for i in money:
count=count+i
return count
sum()
\ 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