diff -r 3e6916eb3d2c -r 294ff7ac9cb6 app/site-content/proposals/2009/08/06/arm.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/site-content/proposals/2009/08/06/arm.py Thu Aug 06 20:20:36 2009 +0530 @@ -0,0 +1,6 @@ +for i in range(100, 1000): + a = i % 10 + b = (i / 10) % 10 + c = (i / 100) % 10 + if i == a ** 3 + b ** 3 + c ** 3: + print "Armstrong Number: ", i