input: Write a python function to find the third largest element in a list.
  assert third_largest([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) == 8
  assert third_largest([10, 20, 45, 67, 84, 93]) == 67
  assert third_largest([5, 7, 9, 8, 6, 4, 3]) == 7
output: def third_largest(lst):
      if len(lst) < 3:
          raise ValueError("List must contain at least three elements")
      lst = sorted(lst, reverse=True)
      return lst[2]