Computer Science, asked by sumit3767, 10 months ago

write a program to find the sum of all even numbers from 1 to 20 in notepad​

Answers

Answered by suvid2005
1

In python:-

no=2

for no <= 20:

sum=0

sum=no+sum

no+=2

print(sum)

Similar questions