From 95341b61b030c9e1290f3b326cb7ec584f543aea Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 31 Aug 2014 20:21:45 +0200 Subject: moved files to higher directory after split to new repository --- 009.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 009.py (limited to '009.py') diff --git a/009.py b/009.py new file mode 100644 index 0000000..f122a7a --- /dev/null +++ b/009.py @@ -0,0 +1,7 @@ +for a in range(1,1000): + for b in range(a, 1000): + c = 1000 - a - b + if a*a + b*b == c*c: + print a*b*c + break + -- cgit v1.2.3