Commit 8d320153 by BellCodeEditor

auto save

parent e70a175c
Showing with 9 additions and 3 deletions
with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as sales_list: with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as sales_list:
a=sales_list.read() a=sales_list.readlines()
print(a) for i in a:
\ No newline at end of file print(i)
print(1)
\ No newline at end of file
with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as sales_list:
a=sales_list.readlines()
print(a)
\ 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