input: Write a python function to delete the third element from a list and return the modified list.
  assert delete_third_element(["A", "B", "C", "D", "E"]) == ["A", "B", "D", "E"]
  assert delete_third_element([1, 2, 3, 4, 5, 6]) == [1, 2, 4, 5, 6]
  assert delete_third_element(["apple", "banana", "cherry", "date"]) == ["apple", "banana", "date"]
output: def delete_third_element(lst):
      if len(lst) >= 3:
          del lst[2]
      return lst