Skip to content
Snippets Groups Projects
9.py 155 B
def is_prime(num):
    f = True
    for i in range(2, int(num ** 0.5) + 1):
        if (num % i == 0):
            f = False
            break
    return f