Commit 9fba92be by BellCodeEditor

auto save

parent dc70412a
Showing with 19 additions and 0 deletions
total = []
def new_input():
while True:
u= input("请输入:")
try:
p=int(u)
except:
if u== 'q':
break
else:
print("输入错误")
continue
print(type(p))
total.append(p)
print(total)
return
new_input()
print(total)
\ 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