Computer Science, asked by japnaaz, 4 months ago


Write a program to print 10 terms of series 1. (1+2), (1 + 2 + 3), ...

Answers

Answered by SidTheLoser
1

x=1

y=0

while True:

if y != 1:

x+=y

print(x)

y+=1

Similar questions