Commit fa304ce6 by BellCodeEditor

auto save

parent 21c33030
Showing with 4 additions and 3 deletions
...@@ -12,6 +12,7 @@ def new_input(): #这是定义函数 ...@@ -12,6 +12,7 @@ def new_input(): #这是定义函数
else: #正确了才会执行 else: #正确了才会执行
total.append(unit) total.append(unit)
print("-"*30) print("-"*30)
print(total) return total
new_input() #这是调用函数 result=new_input() #这是调用函数
\ No newline at end of file print(result)
\ 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