n = input("Enter the number: ")
l=len(n)
s=0
temp=int(n)
while(temp>0):
    d = temp%10
    d=d**l
    s+=d
    temp=temp//10
if(int(n)==s):
    print(n," is a Armstrong Number")
else:
    print(n,"is Not a Armstrong Number")

f1b891e81d52fe8401ab4a8942b17fed5676c61e
<mask token>

<mask token>
while temp > 0:
    d = temp % 10
    d = d ** l
    s += d
    temp = temp // 10
if int(n) == s:
    print(n, ' is a Armstrong Number')
else:
    print(n, 'is Not a Armstrong Number')

n = input('Enter the number: ')
l = len(n)
s = 0
temp = int(n)
while temp > 0:
    d = temp % 10
    d = d ** l
    s += d
    temp = temp // 10
if int(n) == s:
    print(n, ' is a Armstrong Number')
else:
    print(n, 'is Not a Armstrong Number')

n = input("Enter the number: ")
l=len(n)
s=0
temp=int(n)
while(temp>0):
    d = temp%10
    d=d**l
    s+=d
    temp=temp//10
if(int(n)==s):
    print(n," is a Armstrong Number")
else:
    print(n,"is Not a Armstrong Number")
