Commit 9a03eadf by BellCodeEditor

save project

parent ae2ec5a0
Showing with 4 additions and 3 deletions
...@@ -11,5 +11,6 @@ def new_input(): ...@@ -11,5 +11,6 @@ def new_input():
input("要输入整数啊!") input("要输入整数啊!")
else: else:
total.append(unit) total.append(unit)
return unit return 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