Skip to content

Commit 674aa33

Browse files
committed
Formatted code and README with pre-commit fixes
1 parent 62cfcd3 commit 674aa33

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

README.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)