Commit ae9abc0d by BellCodeEditor

auto save

parent b6bda35c
Showing with 1 additions and 3 deletions
with open(r'c:\Users\栩栩\Documents\lesson13-1\sales_list.txt','r',encoding = 'utf-8') as file:
a = file.readlines()
w = 0
for i in file[1:]:
for i in a:
data = i.split()
print(data[0] , data[1:])
# w = w+
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