filmov
tv
Reverse number in python very simple logic for beginners.
![preview_player](https://i.ytimg.com/vi/4O66NklqdJw/maxresdefault.jpg)
Показать описание
#reversenumber #numberreverse #whileloop
In this video, I have explained a program to reverse of a given number. Reverse of a number program is one of the best program to understand looping concept is usually asked in the examinations.
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.
In this video, I have explained a program to reverse of a given number. Reverse of a number program is one of the best program to understand looping concept is usually asked in the examinations.
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.