Commit 513b4aed by BellCodeEditor

save project

parent c5d6034e
Showing with 4 additions and 4 deletions
...@@ -10,6 +10,6 @@ def new_input(): ...@@ -10,6 +10,6 @@ def new_input():
print("类型错误") print("类型错误")
else: else:
total.append(unit) total.append(unit)
return total[0]
print(total) a=new_input()
new_input() print(a)
\ No newline at end of file \ 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