Commit b6f8c189 by BellCodeEditor

save project

parent 81de1529
Showing with 4 additions and 4 deletions
......@@ -10,5 +10,5 @@ with open(r'c:\Users\学生\Documents\lesson13-1\sales_list.txt','r',encoding='u
ben=data[0]+str(sum)+'\n'
#print(ben)
abcd.append(ben)
with open(r'c:\Users\学生\Documents\lesson13-1\sales_list.txt','w',encoding='utf-8') as file:
file.writelines(abcd)
\ No newline at end of file
with open(r'c:\Users\学生\Documents\lesson13-1\sales_list.txt','w',encoding='utf-8') as file1:
file1.writelines(abcd)
\ No newline at end of file
悟空348诺依380小贝182李丽201宋扬107王明245李强164孙小白222苏琪137刘若若147刘阳226王胜男123王娇1310000
悟空348诺依380小贝182李丽201宋扬107王明245李强164孙小白222苏琪137刘若若147刘阳226王胜男123王娇131000000
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