Commit 48cf7d52 by BellCodeEditor

save project

parent 7bab3e70
Showing with 4 additions and 2 deletions
...@@ -3,4 +3,6 @@ with open(r"c:\Users\EDZ\Documents\lesson13-1\sales_list.txt","r",encoding="utf- ...@@ -3,4 +3,6 @@ with open(r"c:\Users\EDZ\Documents\lesson13-1\sales_list.txt","r",encoding="utf-
#print(type(a[3:5])) #print(type(a[3:5]))
#print(a) #print(a)
for i in a: for i in a:
print(i) d=i.split()
\ No newline at end of file print(d[0:1])
print(d[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