Commit 19afa5ff by BellCodeEditor

save project

parent 4753ee9d
Showing with 22 additions and 11 deletions
def new_input()
def n():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
try:
new_input()
except:
print("输入整数奧不写杀了你")
print(total)
try:
if unit== 'q':
return total
break
else:
total.append(unit)
except:
print("输入整数奧不写杀了你")
else:
print(total)
a=n()
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