This function https://github.com/LinkedInLearning/python-essential-training-2449125/blob/8697180e48dcfb80d37d09726097689e7c9f4d4f/exercise_files/11_02_e/primes.py#L2 returns True for the numbers 4, 6 and 8 despite that those are not prime numbers