Skip to content

yeshuawm999/Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitpod Ready-to-Code Contributions Welcome Discord chat Gitter chat
GitHub Workflow Status pre-commit code style: black

All algorithms implemented in Python - for education πŸ“š

Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.

πŸš€ Getting Started

πŸ“‹ Read through our Contribution Guidelines before you contribute.

🌐 Community Channels

We are on Discord and Gitter! Community channels are a great way for you to ask questions and get help. Please join us!

πŸ“œ List of Algorithms

See our directory for easier navigation and a better overview of the project.

🧩 Usage Example

Here’s how you can clone this repository and run algorithms locally:

  1. Clone the repository
    git clone https://github.com/TheAlgorithms/Python.git
    cd Python
  2. Run an algorithm python3 path/to/algorithm.py
  3. Use the interactive Python shell python3

from algorithms.category import algorithm_name algorithm_name(arguments)

  1. Run doctests to verify correctness python3 -m doctest -v path/to/algorithm.py

About

All Algorithms implemented in Python

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%