Commit 064c1a99 by BellCodeEditor

auto save

parent 1164974d
Showing with 7 additions and 3 deletions
with open("sales_list.txt","r",encoding="utf-8") as f:
file = f.read()
print(file)
\ No newline at end of file
file = f.readlines()
# print(file)
for i in file:
# print(i)
data = i.split()
print(data[0])
\ 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