Skip to content

Commit 4fcf266

Browse files
Rishabh BafnaRishabh Bafna
authored andcommitted
Merge branch 'catalan_numbers' of https://github.com/RishabhIIITD/Python into catalan_numbers
2 parents d48be41 + a98d227 commit 4fcf266

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maths/series/catalan_numbers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from __future__ import annotations
1212
import math
1313

14+
1415
def catalan_numbers(count: int) -> list[int]:
1516
"""
1617
Generates the first 'count' Catalan numbers (C_0, C_1, ..., C_{count-1}).
@@ -63,8 +64,8 @@ def catalan_numbers(count: int) -> list[int]:
6364

6465

6566
if __name__ == "__main__":
66-
6767
import doctest
68+
6869
doctest.testmod()
6970

7071
try:

0 commit comments

Comments
 (0)