Commit 76c761cc by BellCodeEditor

save project

parent 432d1b03
...@@ -17,5 +17,3 @@ def sum(a): ...@@ -17,5 +17,3 @@ def sum(a):
for i in a: for i in a:
b = b + i b = b + i
return b return b
result = sum(new_input())
print(result)
\ No newline at end of file
import func
import func
data = func.new_input()
score = func.sum(data)
print("这位选手的总分数为"+str(score))
\ 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