Commit 743eb7d2 by BellCodeEditor

save project

parent 7882275c
Showing with 7 additions and 5 deletions
import func file1=open(r'C:\Users\Lenovo\book.txt','w',encoding='utf-8')
data = func.new_input() file1.write('小李:12本\n')
score = func.sum(data) file1.write('小陆:11本\n')
print("这位选手总分是:"+str(score)) file1.write('小傅:9本\n')
\ No newline at end of file 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