<qiyuangong>001_Two_Sum_3.py
def twoSum( nums, target):
    hash_nums = {}
    for index, num in enumerate(nums):
        another = target - num
        try:
            hash_nums[another]
            return [hash_nums[another], index]
        except KeyError:
            hash_nums[num] = index
def sample_funcname ( var_0 , var_1 ) :
    var_2 = { }
    for var_4 , var_5 in enumerate ( var_0 ) :
        var_6 = var_1 - var_5
        try :
            var_2 [ var_6 ]
            return [ var_2 [ var_6 ] , var_4 ]
        except KeyError :
            var_2 [ var_5 ] = var_4
