Commit a5e5c9ee by BellCodeEditor

save project

parent 0cdf471e
Showing with 3 additions and 2 deletions
......@@ -4,6 +4,6 @@ with open('sales_list.txt','r',encoding='utf-8')as file:
data=i.split(" ")
sum=0
for num in data[1:]:
if num not
print(num)
if num not in {'\n',' ',''}:
print(data[0]+str(sum))
file.close()
\ 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