Commit 40f7784e by BellCodeEditor

save project

parent e0b0f7ce
Showing with 3 additions and 1 deletions
...@@ -11,7 +11,9 @@ def new_input(): ...@@ -11,7 +11,9 @@ def new_input():
print("请输入数值") print("请输入数值")
else: else:
total.append(unit) total.append(unit)
for i in total:
s=s+i
return s
return total
print(new_input()) print(new_input())
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