Commit 55288a06 by BellCodeEditor

save project

parent ba5dfbfb
Showing with 1 additions and 0 deletions
with open(r"c:\Users\Administrator\Documents\lesson13-1\sales_list.txt","r",encoding="utf-8")as file:
txt1=file.readlines()
for i in txt1:
sum=0
list=i.split()
for i in list[1:0]:
sum+=int(j)
......
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