mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Remove unused var in bucket_sort.py
This commit is contained in:
parent
c2f569b272
commit
ce9a8e8484
@ -55,7 +55,7 @@ def bucket_sort(my_list: list, bucket_count: int = 10) -> list:
|
||||
if len(my_list) == 0 or bucket_count <= 0:
|
||||
return []
|
||||
|
||||
min_value, max_value = min(my_list), max(my_list)
|
||||
min_value = min(my_list)
|
||||
buckets: list[list] = [[] for _ in range(bucket_count)]
|
||||
|
||||
for val in my_list:
|
||||
|
Loading…
x
Reference in New Issue
Block a user