mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Update split_workload.py
This commit is contained in:
parent
a1bdd6e30c
commit
885e8db94a
@ -27,7 +27,7 @@ def split_list(
|
||||
ValueError: Timings must be a list of numbers
|
||||
|
||||
"""
|
||||
valid_timings = list[float | int]
|
||||
valid_timings = list[int | float]
|
||||
for current_element in enumerate(timings):
|
||||
if (
|
||||
isinstance(current_element, str)
|
||||
|
Loading…
x
Reference in New Issue
Block a user