Skip to content

Commit feca30b

Browse files
authored
Update mandel-17.py
1 parent c477a8e commit feca30b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

two-sum/mandel-17.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ def twoSum(self, nums: List[int], target: int) -> List[int]:
66
second_value = target - v
77

88
if second_value in nums[i+1:]:
9-
return [i, nums[i+1:].index(second_value) + i+1]
9+
return [i, nums[i+1:].index(second_value) + i+1]
10+

0 commit comments

Comments
 (0)