Commit 6215ce0f by BellCodeEditor

save project

parent adc80c2a
Showing with 6 additions and 3 deletions
...@@ -4,5 +4,8 @@ with open(r"c:\Users\Windows\Documents\lesson13-1\sales_list.txt",'r',encoding=" ...@@ -4,5 +4,8 @@ with open(r"c:\Users\Windows\Documents\lesson13-1\sales_list.txt",'r',encoding="
for str in a : for str in a :
data = str.split() data = str.split()
print(data[0]) #print(data[0])
print(data[1:]) #print(data[1:])
\ No newline at end of file for sales in data[1:]:
data[0]+
print(sum)
\ 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