aboutsummaryrefslogtreecommitdiff
path: root/next-prime/square.py
blob: c6a8ee7a4a68020de488dbed56a9d083e3317878 (plain)
1
2
3
4
5
6
n=int(input())
print([i for i
in range(n,2*n
) if all(not i
%j==0 for j in
range(2, i))])