Python script to check Prime number | MySirG.com

preview_player
Показать описание
Python by Saurabh Shukla Sir
Python by Saurabh Sir

Like, Comments, Share and SUBSCRIBE

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

It is very helpful for beginners....and i am also beginner, after seeing this video my all daubt has cleared....so thanks..

NavneetKumar-dmrc
Автор

wonderful explanation sir! Solved my problem easily

ArifRaza
Автор

Sir for ke sath *else* kese use ho rha h
As we know else if ke sath use hota h
Please comment...

yashsaxena
Автор

Thank you very much it helps me a lot in my homework...

gyanendrasingh
Автор

Thank you so much.. my concept is cleared about prime n

sumitsaktepar
Автор

If, then time complexity will be very high....how can we reduce that?

nitinrawat
Автор

N = input("Enter the Number")
If n<2:
Print("not prime")
Else:
For i in range(2, n):
N%i==0:
Print(not prime
Else prime

ezportonly
Автор

Hello sir Mera ek problem hai mai c language Sikh Raha hun but mere pass abhi koi leptop/computer nhi hai to main apna android use kerta hu sir ap mujhe koi aysa compiler app btaiye jismain jyadater library available ho q ki Kai Sara app ko try Kiya main to Kisi main graphics.h, does.h nhi hai to Kisi main conio.h nhi hai please sir help

burjumajhi
Автор

Sir m jb input m 2 de rha hu to woe kuch print hi nhi karwa rha baki sb input m ans aata h, maine same to same code kiya h apke jaisa hi please bataye ki kya prblm ho rhi h

NikhilKumar-niyc
Автор

Its wrong agar 11 input karte hai to 11 baar print ho ja ta hai

dhairydharsandiya
Автор

starting ke 2nd(if n<2 :) and 3rd(print("Not a prime")) coding ka kiya jarurat think totally wasted.

sanuanand
Автор

how will this program run for value=2?

sureshgoyal
Автор

Create a function named listPrime(N) which accepts an integer N and returns a list of prime numbers less than N. If N is zero or a negative integer then the function should return 'Invalid Parameter'.

my question can you explain solution

parveshgoyal
Автор

what about upcoming Contests on mysirg?

sauravsharma
Автор

9 enter kraye input tb kya output hoga....iska process bataiye detail me

varshapandey
Автор

It was great sir, but I want to know why you inserted break as it can run without it

millionmistakesG
Автор

Sir apne last wala else.. For k sath q liya h

uzmashafi
Автор

You are best teacher of India YouTuber

abhishekkushwaha
Автор

sir why we didn't take end limit to n+1, as non prime num will be divisible by itself, so why limit not n+1, as we always consider last limit by subtracting it by 1

nishalvora