input: Write a function to check if a number provided by the user is prime. If the number is prime, return True; otherwise, return False.
  def is_prime(num):
      if num <= 1:
          return False
      for i in range(2, int(num**0.5) + 1):
          if num % i == 0:
              return False
      return True
  
  assert is_prime(17) == True
  assert is_prime(4) == False
  assert is_prime(1) == False
  assert is_prime(29) == True
  assert is_prime(15) == False
output: def is_prime(num):
      if num <= 1:
          return False
      for i in range(2, int(num**0.5) + 1):
          if num % i == 0:
              return False
      return True