Commit 31550243 by BellCodeEditor

save project

parent 3d5c390d
Showing with 5 additions and 3 deletions
......@@ -2,6 +2,8 @@ with open(r'/Users/hltwhy/Documents/lesson13-1/sales_list.txt','r',encoding='utf
a=file.readlines()
for i in a:
# print(i)
ac=i.split()
print(ac)
\ No newline at end of file
#print(ac)
#print(ac[1:])
print(ac[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