Skip to content

Commit b100541

Browse files
Rishabh BafnaRishabh Bafna
authored andcommitted
fixed
1 parent 608f6b7 commit b100541

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

maths/series/catalan_numbers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"""
1010

1111
from __future__ import annotations
12+
import doctest
13+
1214

1315
def catalan_numbers(count: int) -> list[int]:
1416
"""
@@ -72,4 +74,4 @@ def catalan_numbers(count: int) -> list[int]:
7274
else:
7375
print(f"The first {num} Catalan numbers are: {catalan_numbers(num)}")
7476
except ValueError:
75-
print("Invalid input. Please enter an integer.")
77+
print("Invalid input. Please enter an integer.")

0 commit comments

Comments
 (0)