Commit b047b470 by BellCodeEditor

save project

parent 195b1a41
Showing with 10 additions and 2 deletions
with open(r"C:\Users\Administrator\Desktop\sales_list.txt",'r',encoding='utf-8') as file: with open(r"C:\Users\Administrator\Desktop\sales_list.txt",'r',encoding='utf-8') as file:
a=file.readlines() a=file.readlines()
#print(a)
k=0
l=0
n=1
for i in a: for i in a:
print(i) h=i.split()
\ No newline at end of file for j in range(13):
k=int(h[n])
l+=k
n+=1
print(l)
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