Commit 107ea6d7 by BellCodeEditor

auto save

parent ebb6a60e
Showing with 4 additions and 5 deletions
def new_input():
tatol=[]
while True:
unif=input("请输入:")
unif=int(input("请输入:"))
if unif=="q":
break
try:
......@@ -10,7 +10,7 @@ def new_input():
print("请再输入一个数")
else:
tatol.append(unif)
print(tatol)
return tatol
print(tatol)
return tatol
result=new_input()
\ No newline at end of file
result=new_input()
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