Commit 9bf4a912 by BellCodeEditor

save project

parent 6cf0dc8b
Showing with 4 additions and 2 deletions
...@@ -8,8 +8,10 @@ def new_input(): ...@@ -8,8 +8,10 @@ def new_input():
try: try:
unit=int(unit) unit=int(unit)
except: except:
total
print('整数') print('整数')
else:
total.append(unit) total.append(unit)
print(total) return total
result = new_input()
print(result)
new_input() new_input()
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