Commit 6134e73e by BellCodeEditor

save project

parent 4d7f1001
Showing with 2 additions and 2 deletions
......@@ -6,4 +6,5 @@ with open(r'C:\Users\makcoo\Documents\lesson13-1\sales_list.txt',"r",encoding="u
sum=0
for sales in sss[1:]:
sum+=int(sales)
result=sss[0]+str(sum)
\ No newline at end of file
result=sss[0]+":"+str(sum)
print(result)
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