#programe to print sum of all the even no. from 1 to 50...
plz do in python.....
Answers
Answered by
1
Answer:
sum=0
for i in range (2,51,2):
sum=sum+I
print(sum)
Answered by
1
Answer:
sum=0
for a in range(1,51):
if a%2==0:
sum+=a
print('Sum of Even no.s between 1 and 50 =',sum )
THANKYOU : )
Similar questions