Commit a70cd488 by BellCodeEditor

save project

parent 5a6954d1
Showing with 7 additions and 1 deletions
def A() def new_input()
total = [] total = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
...@@ -6,4 +6,10 @@ def A() ...@@ -6,4 +6,10 @@ def A()
break break
else: else:
total.append(unit) total.append(unit)
try:
new_input()
except:
print("输入整数奧不写杀了你")
print(total) print(total)
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