[Tutor] project euler

prasad rao prasadaraon50 at gmail.com
Sun Jan 4 11:23:10 CET 2009


hello!  I got it 266333.
  My code======

t=0
for x in range(1000):
if divmod(x,3)[1]==0:t+=x
if divmod(x,5)[1]==0:t+=x
t=266333

Am I correct in comprehention of the problem?

Prasad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090104/8218e02a/attachment.htm>


More information about the Tutor mailing list