PRIME SERIES PROGRAM IN PYTHON PROGRAMMING || PRIME NUMBERS IN GIVEN RANGE || PYTHON PROGRAMMING

preview_player
Показать описание
PRIME SERIES

Prime Logic
n
Find the factors (divisibility from 2 to n-1)
n%2
n%3
n%4
-
-
-
n%n-1

None of the above expressions should be equal to zero then we can say n is prime.
if any expression is zero , we can say n is not prime.

Prime Series
start_value
end_value

Outerloop - start_value to end_value
Innerloop - divisibility for each number from outerloop from 2 to number-1
-------------------------------------------------------------------------------------------------------------------
PRIME NUMBER PROGRAM

PYTHON PROGRAMS

C PROGRAMMING

CORE JAVA TUTORIAL FOR BEGINNERS || LEARN CORE JAVA IN 15 HOURS || JAVA TUTORIALS FOR BEGINNERS

HTML TUTORIALS WITH IMPLEMENTATION || LEARN HTML IN 4 HOURS

LEARN CSS IN 3 HOURS || CASCADING STYLE SHEETS FOR BEGINNERS

JAVA SCRIPT FOR BEGINNERS IN 7 HOURS || LEARN JAVA SCRIPT IN 7 HOURS || JAVA SCRIPT

PYTHON TUTORIALS FOR BEGINNERS (తెలుగు లో)

PYTHON OOPS - MODULES - EXCEPTION HANDLING (తెలుగు లో)

PYTHON NUMPY TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE NUMPY TUTORIALS IN TELUGU

PYTHON PANDAS TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE PANDAS TUTORIALS IN TELUGU || DATA SCIENCE

MATPLOTLIB LIBRARY - PYTHON PROGRAMMING (ENGLISH)

PYTHON DATABASE CONNECTIVITY - MYSQL & MS-EXCEL

DATA STRUCTURES USING PYTHON (ENGLISH)

----------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Thank u sir, Your explaination was really good

prathikPShetty-lf
Автор

hi sir ur explanation are good have a doubt ....incase if they ask us to print the first primenumber in the given range how should we modify our code...pls explain

p.lakshmisairam
Автор

Do more videos on python with different different programs sir, it means a lot to us seriously ❣️

saitejamuddana
Автор

Hello sir
One doubt regarding the indentation
Usually for if we have respective else right..
So I am in an understanding that under if the else indentation will come..
But here in the program, the indentation for else is coming under second for loop..

Can you please tell me why and how it works

sravanisrinija
Автор

How it works if n is 1..j loop range will be 2 to 1..pls explain

nutanaigal
Автор

hi there! indeed your lessons have been of great impact, i assume not just to me. but really i am still not able to grasp the concept of this loop . is there any terminology that you can help with to make it very easy. i know you tried to break it as much as possible, but there is any simple concept to mak it more understandable. thanks and regards

olatundeolukoya
Автор

If we want the output in columns (vertical)
Then what to do ?

pradhumnj
Автор

Hi sir I have one qu estion will help me, the question is about ( init function ) I am doing tree in data structure on that the static program has init fuction what is the fuction of init will u tell

dashrathvyavahare
Автор

At 8:41 in prime no. series 1 is included but we all knows that 1 is not prime no.

AmitSingh-nv
Автор

why cant people on youtube start with 2 and end with 10 or 20 or ....

riyazbagban