Commit 2f726df3 by BellCodeEditor

save project

parent 4ef8781c
Showing with 4 additions and 0 deletions
with open(r'C:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding="utf-8")as file1: with open(r'C:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding="utf-8")as file1:
text=file1.readlines() text=file1.readlines()
print(text) print(text)
for i in text:
date=i.split(" ")
print(date[0])
print(date[1:])
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