input: Write a function to get the third largest element in a given row. If the row has fewer than three elements, return None.
  
  def third_largest(lst):
      if len(lst) < 3:
          return None
      distinct = []
      for i in lst:
          if i not in distinct:
              distinct.append(i)
      distinct.sort(reverse=True)
      return distinct[2]
  
  assert third_largest([12, 13, 13, 45, 22, 99])==22
  assert third_largest([5, 10, 15, 20, 20, 25])==15
  assert third_largest([1, 2])==None
  assert third_largest([8, 8, 8, 8, 8])==None
  assert third_largest([99, 99, 99, 99, 99, 100])==99
output: def third_largest(lst):
      if len(lst) < 3:
          return None
      distinct = sorted(set(lst), reverse=True)
      return distinct[2] if len(distinct) > 2 else None