':type nums: List[int]
:type target: int
:rtype: List[int]'

def twoSum2(self, nums, target):

    k = 0
    for i in nums:
        j = (target - i)
        k += 1
        tmp_nums = nums[k:]
        if (j in tmp_nums):
            return [(k - 1), (tmp_nums.index(j) + k)]
