File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed
Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -53,27 +53,9 @@ See our [directory](DIRECTORY.md) for easier navigation and a better overview of
5353
5454## 🧩 Usage Example
5555
56- You can use this repository to explore and run algorithms locally on your system.
57-
58- ###1 ️⃣ Clone the repository
59- ``` bash
60- git clone https://github.com/TheAlgorithms/Python.git
61- cd Python
62- # ## 2️⃣Run an algorithm example
63-
64- Pick any algorithm and run it using Python.
65- For example, to execute the binary search algorithm:
66-
67- python3 searches/binary_search.py
68-
69- # ##3️⃣ Using Python interactively
70-
71- You can also open an interactive shell:
72-
73- python3
74- >>> from data_structures.binary_tree import splay_tree
75- >>> tree = splay_tree.SplayTree ()
76- >>> tree.search(10)
56+ git clone https://github.com/TheAlgorithms/Python.git
57+ cd Python
58+ python3 -m algorithms.sorting.bubble_sort
7759
7860###To verify that all doctests in a file pass:
7961
You can’t perform that action at this time.
0 commit comments