Day 3 of 100 Days of Python
Today is June 22nd, the third day of the 100 Days of Python Coding challenge. I am doing some Number Manipulation questions in Python that use a while loop and digit extraction.The first program checks for an Armstrong Number. To solve it, I use a while loop and a counter variable to get the number of digits in the input number. Then, with another loop, I use the while loop again, but this time extract a digit, raise it to the power of its number of digits and then add their sum in a separate variable 's'.```python # Armstrong Number. An Armstrong number (like 153 or 371) is a number equal to the sum of its own digits raised to the power of the number of digits n = int(input("Enter a number to check for Armstrong Number")) p = n s=0 c = 0 while n>0: c=c+1 n = n//10 n = p while n>0: d = n%10 print(f"Current dig...