Im struggling to finish this code:
sales_data = [[12, 17, 22], [2, 10, 3], [5, 12, 13]] scoops_sold = 0 for location in sales_data: print(location) for element in location: element += scoops_sold print(scoops_sold)
Im not sure how to make sure that each element gets added to the zero value variable. I dont know what Im doing wrong. Can someone show me and tell me what is going on here in this code?