def twoSum(self, num, target):
        """
        Hash Map

        :param num: list
        :param target: int
        :return: tuple, (index1, index2)
        """
        hash_map = {}
        for ind, val in enumerate(num):
            hash_map[val] = ind

        for ind1, val in enumerate(num):
            if target-val in hash_map:
                ind2 = hash_map[val-target]
                if ind1!=ind2:
                    return ind1+1, ind2+1
dataset/ETHPy150Open algorhythms/LeetCode/001 Two Sum.py/Solution.twoSum/swapped operands of `-`