From bc810e9858d20db79d4f93ee5b6263c914832dd4 Mon Sep 17 00:00:00 2001 From: Parth Pawar Date: Wed, 14 Jan 2026 18:47:43 +0530 Subject: [PATCH] Fix return type description in bubble_sort.py Better (clearer, standard phrasing): :return: the same collection ordered in ascending order --- sorts/bubble_sort.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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])