6. "3-digit Narcissistic Number" is a 3-digit integer. The sum of the cub of each digit is equal to the number itself. F
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
6. "3-digit Narcissistic Number" is a 3-digit integer. The sum of the cub of each digit is equal to the number itself. F
6. "3-digit Narcissistic Number" is a 3-digit integer. The sum of the cub of each digit is equal to the number itself. For example:ABC is a "3-digit Narcissistic Number", then A3+B3+C3=ABC. Write a program in python to output all "3-digit Narcissistic Number" in order from small to large (increasely). The results are separate with ", "(",space"). Note: This a an OJ(auto-judge) program . The output format should be strictly consistent to the test case. There is no comma after the last narcissistic number.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!