We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c477a8e commit feca30bCopy full SHA for feca30b
two-sum/mandel-17.py
@@ -6,4 +6,5 @@ def twoSum(self, nums: List[int], target: int) -> List[int]:
6
second_value = target - v
7
8
if second_value in nums[i+1:]:
9
- return [i, nums[i+1:].index(second_value) + i+1]
+ return [i, nums[i+1:].index(second_value) + i+1]
10
+
0 commit comments