Commit f443ef9f by BellCodeEditor

save project

parent eed362fa
Showing with 14 additions and 0 deletions
with open("sales_list.txt","r",encoding="utf-8") as file1:
a = file1.readlines()
for i in a:
data = i.split()
name = data[0]
number = data[1:]
print(name)
print(number)
\ No newline at end of file
夏名 12 12 22 34 12 34
小貝 34 42 13 42 12 12
\ 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