Commit 40ddebb2 by BellCodeEditor

save project

parent f703643e
Showing with 3 additions and 3 deletions
...@@ -2,5 +2,5 @@ with open(r'C:\Users\Kingston\Documents\lesson13-1\sales_list.txt','r',encoding= ...@@ -2,5 +2,5 @@ with open(r'C:\Users\Kingston\Documents\lesson13-1\sales_list.txt','r',encoding=
a=file.readlines() a=file.readlines()
print(a) print(a)
for i in a[1:]: for i in a[1:]:
data=i a=i.split()
print(data[1:]) print(a[1:])
\ No newline at end of file \ 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