Commit aba28aa5 by BellCodeEditor

auto save

parent 7435e059
Showing with 5 additions and 3 deletions
...@@ -10,6 +10,8 @@ def new_input(): ...@@ -10,6 +10,8 @@ def new_input():
except: except:
print("请您输入整数。") print("请您输入整数。")
else: else:
total.append(unit) total.append(unit)
return unit
print(total) print(total)
new_input() a=new_input()
\ No newline at end of file print(a)
\ 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