Commit ab192cc7 by BellCodeEditor

save project

parent d6b88b33
Showing with 1 additions and 3 deletions
...@@ -2,6 +2,4 @@ with open(r'c:\Users\栩栩\Documents\lesson13-1\sales_list.txt','r',encoding = ...@@ -2,6 +2,4 @@ with open(r'c:\Users\栩栩\Documents\lesson13-1\sales_list.txt','r',encoding =
a = file.readlines() a = file.readlines()
for i in a: for i in a:
data = i.split() data = i.split()
data_old = data[0:1] print(data[0] , data[1:])
data_new = data[1:]
print(data_old , data_new)
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