@@ -0,0 +1,448 @@
+#!/usr/bin/env python%0A%0A%22%22%22%0AA Pythagorean triplet is a set of three natural numbers, a %3C b %3C c, for which,%0A%0Aa%5E2 + b%5E2 = c%5E2%0AFor example, 3%5E2 + 4%5E2 = 9 + 16 = 25 = 5%5E2.%0A%0AThere exists exactly one Pythagorean triplet for which a + b + c = 1000.%0AFind the product abc.%0A%22%22%22%0A%0Aimport math%0A%0Afor i in xrange(0,1001):%0A  for j in xrange(0,1001):%0A    a,b=j,i%0A    c=math.sqrt(a**2 + b**2)%0A    if a %3C b %3C c and a + b + c == 1000:%0A      print a*b*c%0A      break%0A    

add solution to problem 9