Write a program to print 10 terms of series 1. (1+2), (1 + 2 + 3), ...
Answers
Answered by
1
x=1
y=0
while True:
if y != 1:
x+=y
print(x)
y+=1
Similar questions
Physics,
1 month ago
English,
1 month ago
Social Sciences,
1 month ago
Computer Science,
4 months ago
Science,
10 months ago