input: Write a function to find the maximum element in an array of numbers. The function should return the largest number in the given array. If the array is empty, it should return None.
  
  def find_max_element(numbers):
      if not numbers:
          return None
      return max(numbers)
  
  assert find_max_element([1, 43, 78, 3, 92, 42]) == 92
  assert find_max_element([5, 8, 9, 1, 2, 3]) == 9
  assert find_max_element([10]) == 10
  assert find_max_element([]) == None
output: def find_max_element(numbers):
      if not numbers:
          return None
      return max(numbers)