Commit 53806bcc by BellCodeEditor

save project

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