input: Write a python function to check if a number is an Armstrong number.
  assert ArmstrongNumber(153) == True
  assert ArmstrongNumber(9474) == True
  assert ArmstrongNumber(9475) == False
output: def ArmstrongNumber(n):
      digits = list(map(int, str(n)))
      power = len(digits)
      return sum(digit ** power for digit in digits) == n