input: Write a function to check if a given number is prime.
  
  ### Input:
  def primeCheck(num):
  
  ### Output:
  def primeCheck(num):
      if num > 1:
          for i in range(2, num):
              if (num % i) == 0:
                  return False
          return True
      return False
  
  ### Assertions:
  assert primeCheck(7) == True
  assert primeCheck(10) == False
  assert primeCheck(29) == True
  assert primeCheck(1) == False
  assert primeCheck(0) == False
output: def primeCheck(num):
      if num > 1:
          for i in range(2, num):
              if (num % i) == 0:
                  return False
          return True
      return False