Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- print(n > 1 and all(n % d for d in range(2, int(n**.5) + 1)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement