input: Write a Python function that receives a list of integers as input and determines if there are three different elements in the list whose sum is zero.
  
  assert triples_sum_to_zero([1, 3, 5, 0]) == False  
  assert triples_sum_to_zero([1, 3, 5, -1]) == False  
  assert triples_sum_to_zero([1, 3, -2, 1]) == True  
  assert triples_sum_to_zero([1, 2, 3, 7]) == False  
  assert triples_sum_to_zero([1, 2, 5, 7]) == False  
  assert triples_sum_to_zero([2, 4, -5, 3, 9, 7]) == True  
  assert triples_sum_to_zero([1]) == False  
  assert triples_sum_to_zero([1, 3, 5, -100]) == False  
  assert triples_sum_to_zero([100, 3, 5, -100]) == False
output: def triples_sum_to_zero(lst):
      lst.sort()
      for i in range(len(lst) - 2):
          left = i + 1
          right = len(lst) - 1
          while left < right:
              current_sum = lst[i] + lst[left] + lst[right]
              if current_sum == 0:
                  return True
              elif current_sum < 0:
                  left += 1
              else:
                  right -= 1
      return False