6 is_prime


#1

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?


#2

i already answered the exact same question today:

please read it


#3

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


#4