Wednesday 24 October 2012

WHILE LOOP TO SUM EVEN NOMBERS IN PYTHON

i=0
sum=0
while(i<=100)
        sum=sum+i
         i=i+2

print(sum)

0 comments:

Post a Comment

 

Copyright @ 2013 Appychip.

Designed by Appychip & YouTube Channel