1 for i in range(100, 1000):
2 a = i % 10
3 b = (i / 10) % 10
4 c = (i / 100) % 10
5 if i == a ** 3 + b ** 3 + c ** 3:
6 print "Armstrong Number: ", i