overreact/_misc.py
def _is_prime(num):
        """Check if num is prime."""
        for i in range(2, int(np.sqrt(num)) + 1):
            if (num % i) == 0:
                return False
        return True
Check if num is prime.
Check if num is prime.
Check if num is prime .
def _is_prime(num):
        for i in range(2, int(np.sqrt(num)) + 1):
            if (num % i) == 0:
                return False
        return True
def _is_prime ( num ) : for i in range ( 2 , int ( np . sqrt ( num ) ) + 1 ) : if ( num % i ) == 0 : return False return True
Check if num is prime.
Check if num is prime .
"""Check if num is prime."""
num