Commit c416f77e by BellCodeEditor

save project

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