Skip to content

Commit d0f73a8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 608f6b7 commit d0f73a8

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
@@ -10,6 +10,7 @@
1010

1111
from __future__ import annotations
1212

13+
1314
def catalan_numbers(count: int) -> list[int]:
1415
"""
1516
Generates the first 'count' Catalan numbers (C_0, C_1, ..., C_{count-1}).
@@ -72,4 +73,4 @@ def catalan_numbers(count: int) -> list[int]:
7273
else:
7374
print(f"The first {num} Catalan numbers are: {catalan_numbers(num)}")
7475
except ValueError:
75-
print("Invalid input. Please enter an integer.")
76+
print("Invalid input. Please enter an integer.")

0 commit comments

Comments
 (0)