Commit 0b6a1bdd by BellCodeEditor

auto save

parent 3a9f8e09
import func
data=func.new_input()
score=func.sum(data)
print("这位选手的分数是"+str(score))
\ No newline at end of file
...@@ -19,6 +19,6 @@ def sum(money): ...@@ -19,6 +19,6 @@ def sum(money):
for i in money: for i in money:
socc+=i socc+=i
return socc return socc
result = new_input() # result = new_input()
sss=sum(result) # sss=sum(result)
print(sss) # print("sss")
\ No newline at end of file \ 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