Question 2

Write a Python program to check whether a given number is armstrong or not.

Program:

Explanation:

Armstrong number is the number whose sum of cube of individual digits is equal to the number itself.

Output:

1.

2.
Do share your feedback in comments to help us adding more programs like this.

Checkout more Python Programs

Click here

Leave a Reply

bodrum escort - eskişehir esc - mersin escort - mersin escort bayan - mersin esc