Commit 903beb7a by BellCodeEditor

save project

parent 3a51300b
...@@ -15,13 +15,13 @@ def new_input(): ...@@ -15,13 +15,13 @@ def new_input():
total.append(unit) total.append(unit)
return total return total
result=new_input() #result=new_input()
print(result) #print(result)
def effeer(list): def effeer(list):
sum=0 sum=0
for i in list: for i in list:
sum=sum+i sum=sum+i
return sum return sum
result=effeer #result=effeer
print(result) #print(result)
import func
data=func.new_input()
new_input=func.effeer(data)
print("选手分数为:"+str(new_input))
\ 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