Skip to content

Commit b61c5ac

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f11c5ec commit b61c5ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sorts/bubble_sort.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ def bubble_sort_iterative(collection: list[Any]) -> list[Any]:
55
"""Pure implementation of bubble sort algorithm in Python
66
77
Sort a list of numbers in ascending order using the bubble sort algorithm.
8-
Bubble sort repeatedly steps through the list, compares adjacent elements,
9-
and swaps them if they are in the wrong order. This process continues until
8+
Bubble sort repeatedly steps through the list, compares adjacent elements,
9+
and swaps them if they are in the wrong order. This process continues until
1010
the list is fully sorted.
1111
1212
:param collection: some mutable ordered collection with heterogeneous

0 commit comments

Comments
 (0)