Write a program to print sum of first 50 even numbers
Answers
Answered by
1
Answer:
sum=0
for i in range(0,51):
if i%2 == 0:
sum=sum+i
print('sum of first 50 even no.s :',sum)
Hope You Get It
Similar questions