Run
n = 10 answer = 0 for i in range(0, n+1): answer += i; print(answer)
Output