Commit d9e6b281 by BellCodeEditor

save project

parent eefd1042
Showing with 9 additions and 3 deletions
with open(r'c:\Users\LEGO\Documents\lesson13-1\sales_list.txt',"r",encoding='utf-8') as file: with open(r'c:\Users\LEGO\Documents\lesson13-1\sales_list.txt',"r",encoding='utf-8') as file:
a=file.readlines() a=file.readlines()
for i in a: b=a[0]
print(i) c=0
\ No newline at end of file for i in b:
c=c+1
print(c)
d=b[3:64]
print(d)
\ 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