Commit 6e8a20ac by BellCodeEditor

save project

parent 3c587272
Showing with 7 additions and 4 deletions
print(r"c:\Users\Windows\Documents\lesson13-1\sales_list.txt") print(r"c:\Users\Windows\Documents\lesson13-1\sales_list.txt")
\ No newline at end of file with open(r"c:\Users\Windows\Documents\lesson13-1\sales_list.txt",'r',encoding="utf-8") as file:
a = file.readlines()
for i in a :
print(i)
\ No newline at end of file
悟空 11 12 13 14 15 16 悟空 11 12 13 14 15 16
小贝 33 32 43 23 45 小贝 33 32 43 23 45
李丽 22 33 44 55 66 78 李丽 22 33 44 55 66 78
\ 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