diff --git a/sorts/bucket_sort.py b/sorts/bucket_sort.py index 8ae0e3144..7e775928a 100644 --- a/sorts/bucket_sort.py +++ b/sorts/bucket_sort.py @@ -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: