Commit 410c450d by BellCodeEditor

save project

parent f16eb57d
Showing with 2 additions and 2 deletions
......@@ -2,8 +2,8 @@ with open(r"c:\Users\丽达玛酷10号\Documents\lesson13-1\sales_list.txt",enco
a = file.readlines()
for i in a:
split_ = i.split()
print(split_[0])
print(split_[1:])
#print(split_[0])
#print(split_[1:])
sum = 0
for sales in split_[1:]:
......
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