Commit 1bf51263 by BellCodeEditor

save project

parent 61197007
Showing with 13 additions and 6 deletions
...@@ -6,15 +6,22 @@ def new_input(): ...@@ -6,15 +6,22 @@ def new_input():
break break
else: else:
try: try:
money = int(number) money = int(money)
except: except:
print("请输入一个数字") print("请输入一个数字")
else: else:
total.append(number) total.append(money)
finally: finally:
print("_"*3 ) print("_"*30 )
return total return total
def cont(lb):
rsult = new_input() mun = 0
print((result)) for i in lb:
mun = mun+i
return mun
rsul=tots1
print(rsul)
print("已经拿到用户列表")
print("开始进行方案2")
print(cout(result))
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