Commit 5850c68c by BellCodeEditor

save project

parent d3b752d6
Showing with 1 additions and 1 deletions
with open(r"c:\Users\玛酷\Documents\lesson13-1\sales_list.txt", with open(r"c:\Users\玛酷\Documents\lesson13-1\sales_list.txt",
'r',encoding='utf-8') as file: 'r',encoding='utf-8') as file:
data=(file.read()) data=file.readlines()
for i in data: for i in data:
list1=i.split() list1=i.split()
......
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