can you please help me again to this?:( cause the previous one I've asked to you i didn't get it :((

write a program that determines whether a given positive integer is an armstrong number.

-----armstrong number is an n-digit number that is equal to the sum of the nTH power of each digit.

your program should contain the following:

A. funtion that returns a value when x is raised to y.

B. funtions that determines the number of digits in an n-digit number.

use these funtions to determine if a number is an armstrong number.

thankyou. much appreciated.