Coding Chaska
24 subscribers
2 photos
1 video
6 files
41 links
🚀 On a mission to make coding easy and fun |💻 Website Development Courses |💻 Python and Data Science Courses |📺 Free content on YouTube
Download Telegram
Write a function that takes an integer. If the number is an Armstrong number, it returns True otherwise, it returns False.
*Examples*
is_armstrong(370) ➞ True
is_armstrong(255) ➞ False
is_armstrong(1634) ➞ True
Armstrong number is a number that is equal to the sum of its own digits each raised to the power of the number of digits. For example, the Armstrong numbers are 1, 153, 370, 371, and 1634.

#codingchaska #coding #programming #pythonprogramming #python
https://www.instagram.com/p/CrawxZ_ro5H/?igshid=OGY3MTdmODg=