input: Write a function that checks if a given number is prime. The function should return True if the number is prime and False otherwise. If the number is less than or equal to 1, the function should return False.
  
  def primeCheck(num):
   if num > 1:
    for i in range(2, num):
     if (num % i) == 0:
      return False
    return True
   return False
  
  assert primeCheck(2)==True
  assert primeCheck(3)==True
  assert primeCheck(4)==False
  assert primeCheck(5)==True
  assert primeCheck(1)==False
output: def primeCheck(num):
   if num > 1:
    for i in range(2, int(num**0.5) + 1):
     if (num % i) == 0:
      return False
    return True
   return False