Commit 9303ad8d by BellCodeEditor

save project

parent 549d42df
Showing with 3 additions and 3 deletions
...@@ -3,5 +3,5 @@ with open(r'c:\Users\lenovo\Documents\lesson13-3\sales_list.txt','r',encoding='u ...@@ -3,5 +3,5 @@ with open(r'c:\Users\lenovo\Documents\lesson13-3\sales_list.txt','r',encoding='u
for i in data: for i in data:
print(i) print(i)
data1=i.split() data1=i.split()
print(data1[0]) name=(data1[0])
print(data1[1:]) money=(data1[1:])
\ No newline at end of file \ 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