Skip to content

Commit 3338c24

Browse files
Kush1101cclauss
andauthored
Update other/triplet_sum.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent a64ee44 commit 3338c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

other/triplet_sum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def triplet_sum2(arr: List[int], target: int) -> Tuple[int, int, int]:
4343
>>> triplet_sum2([37, 9, 19, 50, 44], 65)
4444
(9, 19, 37)
4545
>>> arr = [6, 47, 27, 1, 15]
46-
>>> summ = 11
47-
>>> triplet_sum2(arr,summ)
46+
>>> target = 11
47+
>>> triplet_sum2(arr, target)
4848
(0, 0, 0)
4949
"""
5050
arr.sort()

0 commit comments

Comments
 (0)