Nth Prime Number In Python
l=int(input())
n=0
i=0
a=[]
while n<100:
i+=1
count=1
for j in range(2,i):
if i%j==0:
count=0
break
if count==1:
a.append(i)
n+=1
print(a[l])
Copyright (c) 2021 - 2024 Sky Carrer Guidance All Right Reseved
0 Comments