input: 
  def get_greatest_2(items):
      max1 = max2 = float('-inf')
      for item in items:
          if item > max1:
              max1, max2 = item, max1
          elif item > max2:
              max2 = item
      return max1, max2
  
  # Example
  myList = [1, 5, 3, 7, 4, 7, 8, 9, 2, 10, 6, 8]
  print('The greatest 2 numbers from the array:', get_greatest_2(myList))
  
output:     if len(items) < 2:
          return None
      return max1, max2