A variable declared before a loop can remember work from every repetition. This is called an accumulator.
Complete the missing line so total becomes 1 + 2 + 3 + 4. Keep the supplied loop and final output.
total
1 + 2 + 3 + 4