diff --git a/sorts/bubble_sort.py b/sorts/bubble_sort.py index 9ec3d5384f38..425d2a44e275 100644 --- a/sorts/bubble_sort.py +++ b/sorts/bubble_sort.py @@ -6,7 +6,8 @@ def bubble_sort_iterative(collection: list[Any]) -> list[Any]: :param collection: some mutable ordered collection with heterogeneous comparable items inside - :return: the same collection ordered by ascending + :return: the same collection ordered in ascending order + Examples: >>> bubble_sort_iterative([0, 5, 2, 3, 2])