Source

play-problems / problema02.py

Full commit
def run():
    tot = 0

    for x in range(1, 1000):
        if x % 3 == 0 and x % 5 == 0:
            tot += x

    print tot

if __name__ == '__main__':

    run()