mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
refactor: Indent ... for visual purposes (#7744)
This commit is contained in:

committed by
GitHub

parent
e8915097c4
commit
9bba42eca8
@ -32,17 +32,17 @@ def basic(target: str, genes: list[str], debug: bool = True) -> tuple[int, int,
|
||||
>>> genes.remove("e")
|
||||
>>> basic("test", genes)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
ValueError: ['e'] is not in genes list, evolution cannot converge
|
||||
>>> genes.remove("s")
|
||||
>>> basic("test", genes)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
ValueError: ['e', 's'] is not in genes list, evolution cannot converge
|
||||
>>> genes.remove("t")
|
||||
>>> basic("test", genes)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
ValueError: ['e', 's', 't'] is not in genes list, evolution cannot converge
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user