Drop links or images here to add them to the editor.

Alter the code from the previous question to calculate the sum of the integers from 1 to 1000