**Code:**

```
sum=0
for i in range(10,91):
    sum=sum+i
    print(sum)

```

When I wrote this code, the answer was
**Output:**

```
10
21
33
46
60
75
91
108
126
145
165
186
208
231
255
280
306
333
361
390
420
451
483
516
550
585
621
658
696
735
775
816
858
901
945
990
1036
1083
1131
1180
1230
1281
1333
1386
1440
1495
1551
1608
1666
1725
1785
1846
1908
1971
2035
2100
2166
2233
2301
2370
2440
2511
2583
2656
2730
2805
2881
2958
3036
3115
3195
3276
3358
3441
3525
3610
3696
3783
3871
3960
4050

```

What is the problem? Please help me