Skip to content

Commit 8aea97a

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sorts/simple_bubble_sort.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ def bubble_sort(nums: list[int]) -> list[int]:
2222
nums[j], nums[j + 1] = nums[j + 1], nums[j]
2323
return nums
2424

25+
2526
nums = [65, 66, 12, 4, 9, 10, 32, 2] # 01
2627
ordered_nums = bubble_sort(nums) # 06
2728
print("The result:", ordered_nums)
2829

2930
if __name__ == "__main__":
3031
import doctest
31-
doctest.testmod()
32+
33+
doctest.testmod()

0 commit comments

Comments
 (0)