Commit dd2c5a69 by BellCodeEditor

save project

parent be34d0b8
Showing with 7 additions and 3 deletions
file=open(r"C:\Users\no3\Documents\lesson12-1\sales_list.txt",'r',encoding='utf-8') #file = open(r"C:\Users\no3\Documents\lesson12-1\sales_list.txt",'r',encoding='utf-8')
with open(r"C:\Users\no3\Documents\lesson12-1\sales_list.txt",'r',encoding='utf-8')as file: with open(r"C:\Users\no3\Documents\lesson12-1\sales_list.txt",'r',encoding='utf-8')as file:
\ No newline at end of file a = file.readlines()
print(a)
for i in a:
print(i,end=" ")
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