Skip to content

Commit e90bbeb

Browse files
committed
Merge branch 'fix-matrix-exponentiation-type-annotations' of https://github.com/Kanika0306/Python into fix-matrix-exponentiation-type-annotations
2 parents 2122261 + f79f9b7 commit e90bbeb

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

maths/sumset.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
def sumset(set_a: set, set_b: set) -> set:
1212
"""
13-
:param first set: a set of numbers
14-
:param second set: a set of numbers
15-
:return: the nth number in Sylvester's sequence
13+
:param set_a: a set of numbers
14+
:param set_b: a set of numbers
15+
:return: the sumset of set_a and set_b (all pairwise sums a + b)
1616
1717
>>> sumset({1, 2, 3}, {4, 5, 6})
1818
{5, 6, 7, 8, 9}

searches/ternary_search.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,3 @@ def rec_ternary_search(left: int, right: int, array: list[int], target: int) ->
183183
print(f"Recursive search: {target} found at positions: {result2}")
184184
else:
185185
print("Not found")
186-

0 commit comments

Comments
 (0)