Commit 3a51300b by BellCodeEditor

save project

parent f07adf9e
Showing with 11 additions and 4 deletions
...@@ -14,6 +14,14 @@ def new_input(): ...@@ -14,6 +14,14 @@ def new_input():
print("程序结束") print("程序结束")
total.append(unit) total.append(unit)
return total return total
print(result)
print(total) result=new_input()
new_input() print(result)
\ No newline at end of file
def effeer(list):
sum=0
for i in list:
sum=sum+i
return sum
result=effeer
print(result)
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