Commit a255ba1e by BellCodeEditor

save project

parent 1532c87c
......@@ -13,16 +13,17 @@ def new_input():
total.append(data1)
print(total)
return total
a=new_input()
print(a)
#
o=new_input()
#print(result1)
def count(list):
a=0
for i in list:
a=a+i
print(a)
#print("比赛总和是"+str(a))
return a
result2=count(result1)
print(result2)
result2=count(o)
print(result2)
\ No newline at end of file
import ertyu
h=ertyu.new_input()
g=ertyu.count(h)
print("成绩是"+str(g))
\ 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