Commit 1a8d7523 by BellCodeEditor

save project

parent 370b95ab
Showing with 5 additions and 2 deletions
with open(r"c:\Users\makcoo\Documents\lesson13-1\sales_list.txt",'r',encoding="utf-8") as fine: with open(r"c:\Users\makcoo\Documents\lesson13-1\sales_list.txt",'r',encoding="utf-8") as fine:
a = fine.readlines() a = fine.readlines()
for i in a: for i in a:
print(i) tata =i.split()
\ No newline at end of file print(tata[0])
print(tata[1:])
\ 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