Commit 743eb7d2 by BellCodeEditor

save project

parent 7882275c
Showing with 7 additions and 5 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\Lenovo\book.txt','w',encoding='utf-8')
file1.write('小李:12本\n')
file1.write('小陆:11本\n')
file1.write('小傅:9本\n')
file1.write('小王:16本\n')
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