One-liner to check if a number is primeLambda function uses a list comprehension to check if the number is prime.python