mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Changing type hints
This commit is contained in:
parent
e80302e2cf
commit
6352fec07e
@ -1,9 +1,7 @@
|
|||||||
from typing import List, Tuple, Union
|
from typing import List, Tuple, Union
|
||||||
|
|
||||||
|
|
||||||
def split_list(
|
def split_list(timings: list[int | float | str]) -> tuple[list[int | float], list[int | float], int | float]:
|
||||||
timings: List[Union[int, float, str]]
|
|
||||||
) -> Tuple[List[Union[int, float]], List[Union[int, float]], Union[int, float]]:
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
This algorithm is a brute-force search over (nearly) all 2^n
|
This algorithm is a brute-force search over (nearly) all 2^n
|
||||||
|
Loading…
x
Reference in New Issue
Block a user