What would you do if you had a single integer value that you wanted to update it with a second value (summing the two values together). If you can do that once then doing so in the loop should be pretty similar.
I wrote a simple code:
sales_data = [[12, 17, 22], [2, 10, 3], [5, 12, 13]]
scoops_sold = 0
for location in sales_data:
print(location)
for scoops in location: -----> where scoops is a temporary variable (You can name this variable anything you like. The name doesn’t matter.)
scoops_sold += scoops
print(scoops_sold)