Commit 1f60f1a9 by BellCodeEditor

save project

parent b94d5a42
Showing with 4 additions and 0 deletions
...@@ -10,5 +10,9 @@ def new_input(): ...@@ -10,5 +10,9 @@ def new_input():
except: except:
print("请输入一个整数") print("请输入一个整数")
total.append(unit) total.append(unit)
return total
print(total) print(total)
new_input() new_input()
a = new_input()
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