Commit e2899a8e by BellCodeEditor

save project

parent 23272388
Showing with 4 additions and 6 deletions
import func
data = func.new_input()
score = func.sum(data)
print("这位选手的总分数为:" + str(score))
\ No newline at end of file
file1=open(r'C:\Users\huawei\Desktop\book.txt','w',encoding='utf-8')
file1.write('小兰:12本''小丽:11本''李文:9本''张伟:16本')
file1.close()
\ 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