Python program to check if the given number is a Disarium NumberA number is said to be the Disarium number when the sum of its digit raised to the power of their respective positions becomes equal to the number itself. For example, 175 is a Disarium number as follows: 11+ 72 + 53 = 1+ 49 + 125 = 175 ALGORITHM:
PROGRAM:Output: 175 is a disarium number Next TopicPython Programs |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India