Skip to content

Commit 2dee6f9

Browse files
authored
Update main.py
1 parent 418febb commit 2dee6f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Two Sum Problem/Python/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ def twoSum(self, nums, target):
1212
result.append(index_map[difference])
1313
break
1414
else:
15-
index_map[n] = if
15+
index_map[n] = i
1616

17-
return sorted(result)
17+
return sorted(result)

0 commit comments

Comments
 (0)