@@ -0,0 +1,574 @@
+#!/usr/bin/env python%0A#-*-coding:utf-8-*-%0A%0A'''%0AA Pythagorean triplet is a set of three natural numbers, a %3C b %3C c, for which,%0Aa2 + b2 = c2%0AFor example, 32 + 42 = 9 + 16 = 25 = 52.%0AThere exists exactly one Pythagorean triplet for which a + b + c = 1000.%0AFind the product abc.%0A'''%0A%0Aimport timeit%0Aimport problem_003%0A%0Adef loop(n):%0A    t = 0%0A    for i in range(2, n):%0A        if problem_003.Loop().is_prime(i):%0A            t += i%0A    return t%0A%0Aif __name__ == '__main__':%0A    print loop(2000000)%0A    print timeit.Timer('problem_010.loop(2000000)', 'import problem_010').timeit(1)%0A

add problem 10