Commit bfaf6042 by BellCodeEditor

save project

parent 0a7be7cf
Showing with 2 additions and 2 deletions
with open(r'c:\Users\lenovo\Documents\lesson13-1\sales_list.txt,"r","encoding="UTF-8")as file:
with open(r'c:\Users\lenovo\Documents\lesson13-1\sales_list.txt',"r",encoding="UTF-8")as file:
a=file.readlines()
for i in a:
data=i.spilt()
data=i.split()
name=data[0]
price=data[1:]
print(name)
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