From 8aea97aeab90aa33f78689f331d50bc72e88d6a6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 22:42:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sorts/simple_bubble_sort.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sorts/simple_bubble_sort.py b/sorts/simple_bubble_sort.py index c7e6eb0d5709..02c7a6626008 100644 --- a/sorts/simple_bubble_sort.py +++ b/sorts/simple_bubble_sort.py @@ -22,10 +22,12 @@ def bubble_sort(nums: list[int]) -> list[int]: nums[j], nums[j + 1] = nums[j + 1], nums[j] return nums + nums = [65, 66, 12, 4, 9, 10, 32, 2] # 01 ordered_nums = bubble_sort(nums) # 06 print("The result:", ordered_nums) if __name__ == "__main__": import doctest - doctest.testmod() \ No newline at end of file + + doctest.testmod()