Commit 1573e546 by BellCodeEditor

save project

parent ec33ba9c
Showing with 6 additions and 6 deletions
......@@ -5,13 +5,13 @@ with open( r"c:\Users\GT\Desktop\sales_list.txt","r",encoding="utf-8") as sb:
for i in a:
data=i.split()
print(data[0])
print(data[1:])
#print(data[0])
#print(data[1:])
sum=0
for nb in data[1:]:
sum=sum+int(nb)
print(sum)
......
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