Prime Number in Python - In Hindi
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: https://youtu.be/fW34eJhh7Fw
Link to Next Video: https://youtu.be/FMz7BdKOJe4
Facebook Group: https://www.facebook.com/groups/2167344556716563/?ref=bookmarks
Facebook Page: https://www.facebook.com/Codeitup-104310264625489/
Website: https://codeitup.in
#codeitup
#whileloop
#python
Видео Prime Number in Python - In Hindi канала codeitup
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: https://youtu.be/fW34eJhh7Fw
Link to Next Video: https://youtu.be/FMz7BdKOJe4
Facebook Group: https://www.facebook.com/groups/2167344556716563/?ref=bookmarks
Facebook Page: https://www.facebook.com/Codeitup-104310264625489/
Website: https://codeitup.in
#codeitup
#whileloop
#python
Видео Prime Number in Python - In Hindi канала codeitup
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
#25 Python Tutorial for Beginners | Prime Number in PythonPython Program to Print Fibonacci Series - In HindiPython Armstrong Number Program (For 3 Digit Number) - In HindiString Slicing in Python - In HindiPrime number unsolved problemsPython Class 12 | Python Prime Number Program Using Function - In HindiString in Python - In HindiPython String Functions - In HindiPython Program to Find Sum of First n Natural Numbers - In HindiPRIME or COMPOSITE ? Check in 10 SecondsPython Program to find Sum of Digits of a Given Number - In HindiPython Tutorial - Prime Numbers | Printing Prime Numbers in Given Interval#38 Python Tutorial for Beginners | Fibonacci SequencePython script to create a list of first N prime numbers हिंदी मेंPython String Functions - In HindiPython Program to Check a Number is Palindrome or Not - In HindiPython Programs | Fibonacci Series, Interview Programs, Pattern Programs in Python | EdurekaPython Example Program to Check if a Number is Even or Odd ( User Input )HCF/GCD of Two numbers Using Python