Skip to content

Commit a64ee44

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

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
@@ -24,8 +24,8 @@ def triplet_sum1(arr: List[int], target: int) -> Tuple[int, int, int]:
2424
>>> triplet_sum1([37, 9, 19, 50, 44], 65)
2525
(9, 19, 37)
2626
>>> arr = [6, 47, 27, 1, 15]
27-
>>> summ = 11
28-
>>> triplet_sum1(arr,summ)
27+
>>> target = 11
28+
>>> triplet_sum1(arr, target)
2929
(0, 0, 0)
3030
"""
3131
for triplet in permutations(arr, 3):

0 commit comments

Comments
 (0)