Commit 5c2c8ff1 by BellCodeEditor

save project

parent 4d4456ac
Showing with 9 additions and 0 deletions
with open("c:\\Users\\86139\\Documents\\lesson13-1\\sales_list.txt",'r',encoding='utf-8') as file:
a=file.readlines()
# print(a)
for i in a:
ii=i.split()
print(ii[1:])
for i in a:
iii=i.split()
print(iii[0])
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