Commit 15d5d122 by BellCodeEditor

save project

parent 0f00a1e2
Showing with 11 additions and 8 deletions
SVB=[] def new():
while True: total=[]
SB = input("输入吧:") while True:
if SB == 'q': money = input("输入吧:")
if money == 'q':
break break
else: else:
try: try:
SB=int(SB) money=int(money)
except: except:
print("输数字") print("输数字")
else: else:
SVB.append(SB) total.append(money)
print(SVB) return total
\ No newline at end of file result=new()
print(result)
\ 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