#Given Number is armstrong or not
n = input("Enter Number : >> ")

def checkArmstrong(n):
    number = str(n)
    result = number
    sum  = 0
    for i in number:
        sum += int(i) ** len(number)

    if result == str(sum):
        return True
    else:
        return False

for i in range(1700):
    if checkArmstrong(i):
        print(i)





cb8a7fcb14a04b1fd54b58006b17d1485896df2a
<mask token>

<mask token>


def checkArmstrong(n):
    number = str(n)
    result = number
    sum = 0
    for i in number:
        sum += int(i) ** len(number)
    if result == str(sum):
        return True
    else:
        return False


<mask token>

<mask token>


def checkArmstrong(n):
    number = str(n)
    result = number
    sum = 0
    for i in number:
        sum += int(i) ** len(number)
    if result == str(sum):
        return True
    else:
        return False


for i in range(1700):
    if checkArmstrong(i):
        print(i)

n = input('Enter Number : >> ')


def checkArmstrong(n):
    number = str(n)
    result = number
    sum = 0
    for i in number:
        sum += int(i) ** len(number)
    if result == str(sum):
        return True
    else:
        return False


for i in range(1700):
    if checkArmstrong(i):
        print(i)

#Given Number is armstrong or not
n = input("Enter Number : >> ")

def checkArmstrong(n):
    number = str(n)
    result = number
    sum  = 0
    for i in number:
        sum += int(i) ** len(number)

    if result == str(sum):
        return True
    else:
        return False

for i in range(1700):
    if checkArmstrong(i):
        print(i)




