Commit 1e2bf3bf by BellCodeEditor

auto save

parent fd40acf6
Showing with 13 additions and 2 deletions
a=""
with open(r'c:\Users\ASUS\Desktop\sales_list.txt','r',encoding='utf-8')as f: with open(r'c:\Users\ASUS\Desktop\sales_list.txt','r',encoding='utf-8')as f:
a=f.readlines() a=f.readlines()
for i in a(): for i in a:
print(i) d=i.split()
# print(d[0])
# print(d[1:])
s=0
for i in d[1:]:
s=s+int(i)
print(s)
for i in s:
i=i+s
print(s)
\ 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