Commit 3e0b9096 by BellCodeEditor

save project

parent 381b4297
Showing with 3 additions and 0 deletions
...@@ -3,3 +3,6 @@ with open(r"c:\Users\Administrator\Documents\lesson13_2\sales_list.txt","r",enco ...@@ -3,3 +3,6 @@ with open(r"c:\Users\Administrator\Documents\lesson13_2\sales_list.txt","r",enco
for i in data: for i in data:
print(i) print(i)
a=i.split()
print(a[0])
print(a[1:])
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