Exercise: Check if number is prime
Write a program that gets a number on the commnad line a prints "True" if the number is a prime number or "False" if it isn't.
$ is_prime 42 False $ is_prime 19 True
Published on 2018-04-21
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post