Commit b5ba7542 by BellCodeEditor

save project

parent 76f5050f
Showing with 16 additions and 8 deletions
def new_input:
turtle=1
while Ture:
if will = 'a'
def new_input():
total=[]
while True:
money=input("请输入(q退出)")
if money = 'q'
break
else:
try:
new_input()
money=int(money)
except
print("请输录")
print("请重新输入一个数字")
else:
turtlea.append()
total.append(money)
finally:
print("-"*38)
return total
result = new_input()
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