input: def is_Armstrong_number(num: int) -> bool:
      """ Check if a given number is an Armstrong number.
      An Armstrong number (also known as a narcissistic number, pluperfect number, or  
      hyperperfect number) is an n-digit number that is equal to the sum of the nth powers
      of its digits.
      >>> is_Armstrong_number(153)
      True
      >>> is_Armstrong_number(123)
      False
      >>> is_Armstrong_number(9474)
      True
      >>> is_Armstrong_number(9475)
      False
      """
      order = len(str(num))
      sum = 0
      temp = num
      while temp > 0:
          digit = temp % 10
          sum += digit ** order
          temp //= 10
      return num == sum
output:     order = len(str(num))
      sum = 0
      temp = num
      while temp > 0:
          digit = temp % 10
          sum += digit ** order
          temp //= 10
      return num == sum