app/site-content/proposals/2009/08/06/arm_.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 14 Aug 2009 11:07:24 +0530
changeset 49 33c54f815fd5
parent 8 294ff7ac9cb6
permissions -rwxr-xr-x
Changed rank list.html to be consistent with review list.

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