I have read examples of python shorthand-if in the stackoverflow but still can not figure out how to solve my own simple problem.
I want to print("this is a prime number") else print(this is not a prime number) based on the [boolean] return value of the following function:
is_prime(2)
How should I write a short hand method for?