mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user