Commit c2f924a5 by BellCodeEditor

save project

parent 1e6cf325
Showing with 3 additions and 3 deletions
...@@ -6,9 +6,10 @@ def abc(): ...@@ -6,9 +6,10 @@ def abc():
break break
try: try:
total.append(int(unit)) total.append(int(unit))
print(total)
except: except:
print('请输入整数') print('请输入整数')
else: else:
print("-"*30) print("-"*30)
abc() return total
\ No newline at end of file a=abc()
print(a)
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