Commit 76c761cc by BellCodeEditor

save project

parent 432d1b03
......@@ -16,6 +16,4 @@ def sum(a):
b = 0
for i in a:
b = b + i
return b
result = sum(new_input())
print(result)
\ No newline at end of file
return b
\ 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