Recent Updates
- If You are a DLS Fan Click on the Link. Don't Forget to like Share Comment and Subscribe too.
link: https://youtu.be/qaQf5TvWBmsIf You are a DLS Fan Click on the Link. Don't Forget to like Share Comment and Subscribe too. link: https://youtu.be/qaQf5TvWBmsPlease log in to like, share and comment! - Pls Subscribe my Youtube Channel
Link: https://youtu.be/_v1Dx3Vp0l8Pls Subscribe my Youtube Channel Link: https://youtu.be/_v1Dx3Vp0l8 - #Find First N Prime Numbers.
N=int(input("Enter the Number: "))
for num in range(2,N+1):
flag=0
for i in range (2,num):
if num% i==0:
flag=1
if flag==0 or num==2:
print(num)#Find First N Prime Numbers. N=int(input("Enter the Number: ")) for num in range(2,N+1): flag=0 for i in range (2,num): if num% i==0: flag=1 if flag==0 or num==2: print(num)
More Stories