6 is_prime


Hello everyone i'm having always the same error with this exercise and i can't understand why

this is my code:

this is the error:
Oops, try again. Your function fails on is_prime(9). It returns True when it should return False.

can someone help me to figure out what the problem is?


i already answered the exact same question today:

please read it


Thank you man you saved my day i was literaly losing my head on this