input: def divide_in_two_equal_parts(lst):
      """
      Divide a given list of numbers into two equal parts such that the difference between the sum of the two parts is minimum.
      
      >>> divide_in_two_equal_parts([2, 3, 4, 5, 6, 7])
      ([2, 3, 4], [5, 6, 7])
      """
      target = sum(lst) // 2
      part1 = []
      part2 = []
      left_sum = 0
      right_sum = 0
      
      for num in lst:
          if left_sum <= right_sum:
              left_sum += num
              part1.append(num)
          else:
              right_sum += num
              part2.append(num)
           
      return part1, part2
output:     target = sum(lst) // 2
      part1 = []
      part2 = []
      left_sum = 0
      right_sum = 0
      
      for num in lst:
          if left_sum <= right_sum:
              left_sum += num
              part1.append(num)
          else:
              right_sum += num
              part2.append(num)
      
      if left_sum > target:
          diff = left_sum - target
          for num in part1:
              if num <= diff:
                  part1.remove(num)
                  part2.append(num)
                  left_sum -= num
                  right_sum += num
                  diff -= num
              if left_sum == target:
                  break
      
      return part1, part2