Commit d1ccbefb by BellCodeEditor

save project

parent cd33e6c2
Showing with 8 additions and 3 deletions
def new_input():
total = []
while True:
......@@ -5,5 +6,9 @@ def new_input():
if unit== 'q':
break
else:
total.append(int(unit))
print(total)
\ No newline at end of file
try:
total.append(int(unit))
except:
input('你个大SB!!!!')
print(total)
new_inpu()
\ 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