Commit 5d4f0450 by BellCodeEditor

save project

parent 81fa2efc
import func
import jvjgbjnjkhgjgh
data = func.new_input()
score = impot.impot(data)
print("这位选手的总分数为:"+str(score))
file1=open(r'C:\Users\Administrator\Desktop\text.txt',"w",encoding="utf-8")
file1.write('小兰:12\n小丽:9\n小王:13\n')
file1.close()
def sum(money):
cound = 0
for i in money:
cound += i
return cound
#print(sum1([1,2,3,4]))
list = [1,2,3]
print(sum(list))
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