Skip to content

Commit b466aa5

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sorts/bubble_sort.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def bubble_sort_recursive(collection: list[Any]) -> list[Any]:
119119
timer_iterative = timeit(
120120
"bubble_sort_iterative(unsorted[:])", globals=globals(), number=num_runs
121121
)
122-
122+
123123
print(f"Total runs for benchmark: {num_runs:,}\n")
124124

125125
# Iterative version
@@ -139,4 +139,3 @@ def bubble_sort_recursive(collection: list[Any]) -> list[Any]:
139139
print(f"Time Taken (Recursive): {timer_recursive:.5f}s")
140140

141141
print("\n✅ Comparison completed successfully!")
142-

0 commit comments

Comments
 (0)