[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2026-03-02 18:33:47 +00:00
parent 98fceea2d4
commit 174a083157
13 changed files with 29 additions and 30 deletions

View File

@@ -71,7 +71,7 @@ if __name__ == "__main__":
print(f"The Catalan numbers from 0 through {N} are:")
print(catalan_numbers(N))
print("Try another upper limit for the sequence: ", end="")
except (NameError, ValueError):
except NameError, ValueError:
print("\n********* Invalid input, goodbye! ************\n")
import doctest