Commit 6fdd853d by BellCodeEditor

save project

parent 7dc4a110
Showing with 0 additions and 9 deletions
with open(r'C:\Users\XMBC\Documents\lesson13-3\sales_list.txt','r',encoding="utf-8") as file:
a=file.readlines()
#print(a)
for i in a:
b = i.split()
print(b)
#C:\Users\XMBC\Documents\lesson13-3\sales_list.txt
\ 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