Computer Science, asked by adityaneo, 2 days ago

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 NotThareesh
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