input: Write a function to determine if a number provided by the user is prime or not. The function should prompt the user for a number, check if it is prime, and then print whether the number is prime or not.
  assert is_prime(17) == True
  assert is_prime(15) == False
  assert is_prime(2) == True
  assert is_prime(1) == False
  assert is_prime(29) == True
output: def is_prime(n):
      if n <= 1:
          return False
      for i in range(2, int(n**0.5) + 1):
          if n % i == 0:
              return False
      return True