mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-18 16:27:02 +00:00
Fixed typos
This commit is contained in:
parent
e359b6efd4
commit
de8c5cbf00
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
This is pure python implementation of the bogosort algorithm
|
||||
This is a pure python implementation of the bogosort algorithm
|
||||
For doctests run following command:
|
||||
python -m doctest -v bogosort.py
|
||||
or
|
||||
|
@ -12,7 +12,7 @@ from __future__ import print_function
|
|||
import random
|
||||
|
||||
def bogosort(collection):
|
||||
"""Pure implementation of bogosort algorithm in Python
|
||||
"""Pure implementation of the bogosort algorithm in Python
|
||||
:param collection: some mutable ordered collection with heterogeneous
|
||||
comparable items inside
|
||||
:return: the same collection ordered by ascending
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
This is a pure python implementation of the heap sort algorithm.
|
||||
|
||||
For doctests run following command:
|
||||
python -m doctest -v insertion_sort.py
|
||||
python -m doctest -v heap_sort.py
|
||||
or
|
||||
python3 -m doctest -v insertion_sort.py
|
||||
python3 -m doctest -v heap_sort.py
|
||||
|
||||
For manual testing run:
|
||||
python insertion_sort.py
|
||||
|
|
Loading…
Reference in New Issue
Block a user