user
Output a program that takes a two-digit input and determines if it is a prime number.
Response:
assistant
def is_prime(n): 
    if (n <= 1): 
        return False
    
    if (n <= 3): 
        return True
    
  
    if (n % 2 == 0 or n % 3 == 0): 
        return False
  
    for i in range(5,int(n**0.5) + 1, 6):  
        if (n % i == 0 or n % (i + 2) == 0): 
            return False
  
    return True
  
num = int(input("Enter a number: ")) 
if is_prime(num): 
    print(num, "is a prime number") 
else: 
    print(num, "is not a prime number")