def sum(a,b):
    return a+b

def avg(a, b):
   return(a+b)/2

def armstrong(n):
    
    sum = 0
    order = len(str(n))
    copy_n = n 
    while(n>0) :
        digit = n%10
        sum += digit ** order
        n = n//10

    if (sum == copy_n):
        print(f"{copy_n} is a armstrong number")
        return True
    else:
        print(f"{copy_n} is not a armstrong number")
        return False 

81f94747558e9c26d0713857440a38f283ce5ad9
<mask token>

def sum(a, b):
    return a + b


<mask token>

def sum(a, b):
    return a + b


<mask token>


def armstrong(n):
    sum = 0
    order = len(str(n))
    copy_n = n
    while n > 0:
        digit = n % 10
        sum += digit ** order
        n = n // 10
    if sum == copy_n:
        print(f'{copy_n} is a armstrong number')
        return True
    else:
        print(f'{copy_n} is not a armstrong number')
        return False

def sum(a, b):
    return a + b


def avg(a, b):
    return (a + b) / 2


def armstrong(n):
    sum = 0
    order = len(str(n))
    copy_n = n
    while n > 0:
        digit = n % 10
        sum += digit ** order
        n = n // 10
    if sum == copy_n:
        print(f'{copy_n} is a armstrong number')
        return True
    else:
        print(f'{copy_n} is not a armstrong number')
        return False

def sum(a,b):
    return a+b

def avg(a, b):
   return(a+b)/2

def armstrong(n):
    
    sum = 0
    order = len(str(n))
    copy_n = n 
    while(n>0) :
        digit = n%10
        sum += digit ** order
        n = n//10

    if (sum == copy_n):
        print(f"{copy_n} is a armstrong number")
        return True
    else:
        print(f"{copy_n} is not a armstrong number")
        return False 
