Commit 6564898e by BellCodeEditor

save project

parent 0df4a6eb
Showing with 5 additions and 3 deletions
with open(r'\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8')as gfs: with open(r'\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as gfs:
a=gfs.readlines() a=gfs.readlines()
for i in a: for i in a:
print(i) po=i.split()
\ No newline at end of file print(po[0])
print(po[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