Commit c89f40e3 by BellCodeEditor

save project

parent 677b4005
Showing with 5 additions and 1 deletions
...@@ -2,4 +2,8 @@ with open(r"c:\Users\intel\Documents\lesson13-1\sales_list.txt","r",encoding="ut ...@@ -2,4 +2,8 @@ with open(r"c:\Users\intel\Documents\lesson13-1\sales_list.txt","r",encoding="ut
a=file1.readlines() a=file1.readlines()
print(a) print(a)
for i in a: for i in a:
print(i) newi=i.split()
print(newi)
print(newi[0])
print(newi[1:])
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