Commit f5539207 by BellCodeEditor

auto save

parent 9b7d3c65
......@@ -14,14 +14,14 @@ def A_list():
print('-'*30)
return total
def sum(a):
b=0
for i in a:
b=b+i
return b
B_list=A_list()
print(B_list)
def sum(a):
count=0
for i in count:
count=count+i
return count
# B_list=A_list()
# print(B_list)
......
import func
chengji=func.A_list()
zongchengji=func.sum(chengji)
print('选手的总分是'+str(zongchengji))
\ 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