Algorithm to find the given number is armstrong or not in python
Answers
Answered by
0
Generally, a number is said to be an Armstrong number if an n -digit number equal to the sum of the nth powers of its digits. For Example, 153 is an Armstrong number as its sum of cubes of each digit 13 + 53 + 33 = 153 whereas 456 is not as its sum of cubes of each digit is not 456.
Answered by
0
a number is said to be an Armstrong number if an n -digit number equal to the sum of the nth powers of its digits. For Example, 153 is an Armstrong number as its sum of cubes of each digit 13 + 53 + 33 = 153 whereas 456 is not as its sum of cubes of each digit is not 456.
Similar questions