Commit 617f470f by BellCodeEditor

save project

parent f5896fa6
Showing with 6 additions and 2 deletions
......@@ -2,4 +2,8 @@ with open(r'c:\Users\admin\Desktop\sale.txt','r',encoding='utf-8') as us:
a=us.readlines()
for i in a:
i=i.split()
print(i[1:])
\ No newline at end of file
#print(i[1:])
pp=0
for u in i[1:]:
pp=pp+int(u)
print(pp)
\ 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