gmpy2 является ярким
gmpy2.is_prime(var)
#must have gmpy2 installed and imported
Lucas Gomes
gmpy2.is_prime(var)
#must have gmpy2 installed and imported