def main(): num = int(input("Enter an integer: ")) if is_prime(num): print(num, "is prime") else: print(num, "is NOT prime")
def main(): num = int(input("Enter the number: ")) if is_prime(num): print(num, "is a Prime Number") else: print(num, "is not a Prime number")
import primecode num = int(input("Enter an integer: ")) if primecode.is_prime(num): print(num, "is prime") else: print(num, "is NOT prime")
from primecode import is_prime num = int(input("Enter an integer: ")) if is_prime(num): print(num, "is prime") else: print(num, "is NOT prime")