Commit ea349d82 by BellCodeEditor

save project

parent 2f062549
Showing with 4 additions and 4 deletions
#'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt' #'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt'
with open(r'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt',"r",encoding="utf-8") as f: with open(r'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt',"r",encoding="utf-8") as f:
qing = f.read() qing = f.readlines()
print(qing) for i in qing:
print(i)
\ No newline at end of file \ 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