Summary
Keywords
Full Transcript
Python Armstrong Number Program - In Hindi - Tutorial #24A In this video, I have explained a program to check whether a given number is Armstrong number or not. An Armstrong number is one whose sum of cube of each digits is equal to the number itself. For Example if the given number is 153 then we have to find the sum of cube of its digits i.e. 1^3+5^3+3^3 = 153 and since the result is equal to the number itself, it is an Armstrong Number. We will do the Armstrong Number program using While statement. While statement is used to execute a single statement or a block of statement n times till the condition is true. Every loop must contain three parts: 1. Initialization of counter variable. 2. Condition 3. Increment/Decrement of counter variable While loop or any loop will work fine if all the three parts are there in the programs. If any one is missing the loop will not run properly. Link to Previous Video: https://youtu.be/tdBZueNagQ0 Link to Next Video: https://youtu.be/E3zrcNCPOdw Facebook Group: https://www.facebook.com/groups/2167344556716563/?ref=bookmarks Facebook Page: https://www.facebook.com/Codeitup-104310264625489/ Website: https://codeitup.in Tags Used: armstrong number python programming python tutorials in hindi python programs python examples armstrong number programs armstrong or not program to check for armstrong armstrong,number program armstrong numbers programs interview number programs numbers program to find armstrong program to check a number is armstrong or not Python Armstrong Number Program #codeitup #whileloop #pythonJoin this channel to get access to perks: https://www.youtube.com/channel/UCO0KFz5_gtZt-AfyIV2sAkw/join
