Commit 738a7ccb by BellCodeEditor

save project

parent bfc31aaf
Showing with 3 additions and 9 deletions
with open(r'c:\Users\mayi\Documents\lesson13_2\sales_list.txt','r',encoding='uft-8') as f:
a=f.readlines()
#print(a)
for i in a:
#print(i)
j=i.split()
print(j[0])
print(j[1:])
\ No newline at end of file
with open(r'c:\Users\mayi\Documents\lesson13-1\sales_list.txt','r',encoding='uft-8') as f:
f.read()
\ 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