Prime Number in Python - In Hindi

Veröffentlicht am: 06 Juli 2019
auf dem Kanal: codeitup
158,857
3.1k

Prime Number in Python - In Hindi - Tutorial#29

In this video, I have explained a program to check whether a given number is Prime number of not. A Prime Number is one who has only two factors i.e. 1 and the number itself. For Example a numbers 2,3,5,7,11,13,17 etc are prime number. Prime number program is one of the best program to understand looping concept is usually asked in the examinations.

We will do Prime 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:    • Python Program to Check a Number is P...  

Link to Next Video:    • Factorial Program in Python - In Hindi  

Facebook Group: https://www.facebook.com/groups/21673...

Facebook Page:   / codeitup-104310264625489  

Website: https://codeitup.in

#codeitup
#whileloop
#python


Auf dieser Seite können Sie das Online-Video Prime Number in Python - In Hindi mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer codeitup 06 Juli 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 158,857 Mal angesehen und es wurde von 3.1 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!