Python_Notes_Decision_Making_included.pdf
2.3 MB
Find the updated file here. Decision Making included in this pdf.
Python_notes_loops_updated.pdf
570.3 KB
This pdf contains python basics, python decision-making, and loops. More topics will be added soon.
Python_Notes.pdf
632 KB
This pdf contains Python Basics, Decision Making, for loop, While loops, and functions. More topics will be added soon.
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=
*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=