Commit 6f5f8e03 by BellCodeEditor

save project

parent dcef22ff
Showing with 2 additions and 2 deletions
...@@ -18,8 +18,8 @@ result = new_input() #函数的调用,相当于背起书包去上学 ...@@ -18,8 +18,8 @@ result = new_input() #函数的调用,相当于背起书包去上学
print(result) print(result)
def sum(result): def sum(result):
count = 0 count = 0
for i in result: for i in result:
count = count+i count = count+i
return count return count
result = new_input() result = new_input()
print(result) 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