mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-18 18:14:34 +08:00
psf/black code formatting (#1421)
* added sol3.py for problem_20 * added sol4.py for problem_06 * ran `black .` on `\Python`
This commit is contained in:

committed by
Christian Clauss

parent
11e2207182
commit
7592cba417
@ -11,7 +11,7 @@ def factorial(input_number: int) -> int:
|
||||
"""
|
||||
|
||||
if input_number < 0:
|
||||
raise ValueError('Input input_number should be non-negative')
|
||||
raise ValueError("Input input_number should be non-negative")
|
||||
elif input_number == 0:
|
||||
return 1
|
||||
else:
|
||||
|
Reference in New Issue
Block a user