The author posted a question in Programming
Help in python with a problem? and got a better answer
Response from
Response from 0[+++++]
i= 101</span>n= 1000 s= 0</span>while i < n: s= i + s</span> i= i + 2 print s
i= 101</span>n= 1000 s= 0</span>while i < n: s= i + s</span> i= i + 2 print s
Response from 0[+++++]
print sum range 101, 1001, 2
print sum range 101, 1001, 2