Commit a6c53892 by BellCodeEditor

save project

parent 2a0c79a4
Showing with 7 additions and 8 deletions
......@@ -2,14 +2,13 @@
def new_input():
total=[]
while True:
try:
unit= int(input("请输入:"))
except:
print("sb")
else
if unit== 'q':
break
else:
else
total.append(unit)
print(total)
new_input()
\ No newline at end of file
re
print(total)
a=new_input()
\ 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