app/site-content/proposals/2009/07/28/arm_.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 04 Aug 2009 02:21:15 -0400
changeset 0 c94bd9ae70d2
permissions -rwxr-xr-x
First commit.

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