Write a program in python in order to read a number and check whether its Armstrong number or not?
Armstrong number=> where sum of cube of digit of number is equals to number itself 153
Answers
Answered by
1
Answer:
There are two ways of solving this question. It can done either by using a For Loop or a While Loop. I have posted both the methods here. Kindly follow whichever you feel is convenient.
Explanation:
Please refer the attached screenshots.
Attachments:
Similar questions
Science,
1 day ago
English,
1 day ago
Geography,
2 days ago
Science,
8 months ago
Social Sciences,
8 months ago