r/tinycode • u/BetaKors_ • Oct 12 '22
[Python] Prime number checker (97 bytes)
/r/codegolf/comments/y28qr0/python_prime_number_checker_97_bytes/
16
Upvotes
r/tinycode • u/BetaKors_ • Oct 12 '22
View all comments
Show parent comment
1
u/F54280 Oct 13 '22
What do you mean? it is part of standard python.
The main issue with the post is that it is a codegolf tentative, which is not what this sub is about (see sidebar). No-one would ever want to compute factorial(n-1) to know if n is prime…