Commit d1ccbefb by BellCodeEditor

save project

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