Commit bf288129 by BellCodeEditor

save project

parent 81f4ecba
Showing with 4 additions and 30 deletions
def sb(): C:\Users\Administrator\Desktop
total = [] \ No newline at end of file
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
try:
a=int(a)
except:
print('重输')
else:
total.append(unit)
finally:
print('-'*30)
return total
def sum(money):
count=0
for i in money:
count=count+i
return money
daima()
sum(total)
\ No newline at end of file
try: C:\Users\Administrator\Desktop
a=int(input('看他恐怕也会惹人')) \ No newline at end of file
except:
print('刚好合适的发挥放寒假')
print('刚有人要花费也容易忽而又换人')
\ 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