We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c894e commit 20cbbfcCopy full SHA for 20cbbfc
sorts/bubble_sort.py
@@ -107,12 +107,13 @@ def bubble_sort_recursive(collection: list[Any]) -> list[Any]:
107
108
109
if __name__ == "__main__":
110
-
111
- #doctest is a Python module used for testing your code automatically.
+ # doctest is a Python module used for testing your code automatically.
112
import doctest
113
- #sample : It picks unique random items from a list, set, or sequence.
+
+ # sample : It picks unique random items from a list, set, or sequence.
114
from random import sample
115
- #timeit is used to measure how long a piece of code takes to run.
116
+ # timeit is used to measure how long a piece of code takes to run.
117
from timeit import timeit
118
119
doctest.testmod()
0 commit comments