Skip to content

Commit b149e2d

Browse files
committed
fix: add endline for linelint error
1 parent cacee96 commit b149e2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

two-sum/shinsj4653.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,6 @@ def twoSum(self, nums: List[int], target: int) -> List[int]:
4242
return ret
4343

4444
else:
45-
diffDict[target - nums[i]] = i
45+
diffDict[target - nums[i]] = i
46+
47+
return ret

0 commit comments

Comments
 (0)