I was wondering why to use scoops_sold += element and not use scoops_sold.append(element)? I noticed .append does not work, but wonder why, as it should add a single element to a predefined list.
If we examine the initial declarations,
scoops_sold is set to zero. It is not a list, but a single numeric value which we will accumulate to reach total.