This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
Idiot-Code-Golf/next-prime/square.py
2021-04-25 16:13:46 -05:00

7 lines
90 B
Python

n=int(input())
print([i for i
in range(n,2*n
) if all(not i
%j==0 for j in
range(2, i))])