Created factorial.py #11371
Annotations
4 errors
Ruff (INP001):
recursion/factorial.py#L1
recursion/factorial.py:1:1: INP001 File `recursion/factorial.py` is part of an implicit namespace package. Add an `__init__.py`.
|
Ruff (PLR1714):
recursion/factorial.py#L2
recursion/factorial.py:2:8: PLR1714 Consider merging multiple comparisons: `n in (0, 1)`. Use a `set` if the elements are hashable.
|
Ruff (W293):
recursion/factorial.py#L6
recursion/factorial.py:6:1: W293 Blank line contains whitespace
|
ruff
Process completed with exit code 1.
|