as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
output a program that takes a two-digit input and determines if it is a prime number.
user
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")
assistant