Use Markdown to style code:
- Use a single backtick (`) at the beginning and end of your single code line:
- Use three backticks (```) at the beginning and end of multiple code lines:
Thinking about how sigma works
You need an initial sum.
You then want a way to add the expression with each succession. As Sato said, a for loop would be good for this - going from the range of lower to upper bound
With each iteration of the loop add the result of the expression to the current sum