Skip to content
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,36 @@ We are on [Discord](https://the-algorithms.com/discord) and [Gitter](https://git
## 📜 List of Algorithms

See our [directory](DIRECTORY.md) for easier navigation and a better overview of the project.

## 🧩 Usage Example

git clone https://github.com/TheAlgorithms/Python.git
cd Python
python3 -m algorithms.sorting.bubble_sort

###To verify that all doctests in a file pass:

python3 -m doctest -v data_structures/binary_tree/splay_tree.py


---

## 🧠 Why This Works

✔️ Follows their Markdown and emoji style (`## 📜`, `## 🧩`)
✔️ Gives clear instructions for beginners
✔️ Matches issue #13714 (“Add Usage Example section to README”)
✔️ Maintains the tone and layout of the official README

---

## 🚀 How to Commit and Push

Once you add that section at the bottom of the README:

```bash
git add README.md
git commit -m "Added 'Usage Example' section to README (fixes #13714)"
git push origin splaytree-v3