class Solution:
def twoSum(self, nums: List[int], target: int) -> List[int]:
for key,value in enumerate(nums):
another = target-value
if another in nums:
index = nums.index(another)
if key != index:
return [key,index]
return None