Entry 3259

Problem1

   

Submitted by anonymous on Feb. 25, 2010 at 10:13 p.m.
Language: Python. Code size: 94 bytes.

x = 0
for i in range(1,1000):
    if i % 3 == 0 or i % 5 == 0:
        x = x + i
print x

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).