Commit dddb9b6c by BellCodeEditor

save project

parent 2e00faf6
Showing with 7 additions and 5 deletions
with open(r'C:Uders\CM\Documents\lesson13-1\sales_list.txt,'r'encoding='etf-8')
a=file.read
print(a)
with open(r'C:Uders\CM\Documents\lesson13-1\sales_list.txt,'r'encoding='etf-8') as file:
a=file.read
for i in a:
print(i)
\ No newline at end of file
date=i.split()
print(date[0])
print(date[1:])
\ 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