Commit fe794857 by BellCodeEditor

save project

parent 0ca44390
Showing with 11 additions and 2 deletions
......@@ -11,4 +11,13 @@ for i in a:
#
#for i in a:
# data=i.split()
# print(data[0])
\ No newline at end of file
# print(data[0])
final=[]
for i in a:
data=i.split()
sum=0
for salrs in data[1:]:
sum=sum+int(sales)
result=data[0]+str(sum)+'\n'
final.append(result)
\ 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