All Algorithms implemented in Python the-algorithms.com/
Go to file
Christian Clauss 26b0803319
Simplify sudoku.is_completed() using builtin all() (#1608)
* Simplify sudoku.is_completed() using builtin all()

Simplify __sudoku.is_completed()__ using Python builtin function [__all()__](https://docs.python.org/3/library/functions.html#all).

* fixup! Format Python code with psf/black push

* Update sudoku.py

* fixup! Format Python code with psf/black push

* Old style exception -> new style for Python 3

* updating DIRECTORY.md

* Update convex_hull.py

* fixup! Format Python code with psf/black push

* e.args[0] = "msg"

* ValueError: could not convert string to float: 'pi'

* Update convex_hull.py

* fixup! Format Python code with psf/black push
2019-12-08 22:42:17 +01:00
.github Typo in a comment (#1603) 2019-11-29 00:23:37 +05:30
arithmetic_analysis Improved readability (#1615) 2019-12-07 06:39:59 +01:00
backtracking Simplify sudoku.is_completed() using builtin all() (#1608) 2019-12-08 22:42:17 +01:00
blockchain Add Topological Sort (#1302) 2019-10-18 08:13:58 +02:00
boolean_algebra Tabs --> spaces in quine_mc_cluskey.py (#1426) 2019-11-21 22:21:40 +08:00
ciphers Improved readability (#1615) 2019-12-07 06:39:59 +01:00
compression Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
conversions psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
data_structures Improved readability (#1615) 2019-12-07 06:39:59 +01:00
digital_image_processing improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01:00
divide_and_conquer Simplify sudoku.is_completed() using builtin all() (#1608) 2019-12-08 22:42:17 +01:00
dynamic_programming Improved readability (#1615) 2019-12-07 06:39:59 +01:00
file_transfer GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
fuzzy_logic Remove code with side effects from main (#1577) 2019-11-17 19:38:48 +01:00
graphs Simplify sudoku.is_completed() using builtin all() (#1608) 2019-12-08 22:42:17 +01:00
hashes add the index calculation class at digital_image_processing and the hamming code algorithm at hashes (#1152) 2019-12-06 07:13:10 +01:00
images Add Travis_CI_tests_are_failing.md (#1499) 2019-10-28 13:38:08 +01:00
linear_algebra Update README.md (#1588) 2019-11-23 04:06:52 +01:00
machine_learning Simplify sudoku.is_completed() using builtin all() (#1608) 2019-12-08 22:42:17 +01:00
maths Improved readability (#1615) 2019-12-07 06:39:59 +01:00
matrix psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
networking_flow psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
neural_network Improved readability (#1615) 2019-12-07 06:39:59 +01:00
other Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
project_euler Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
scripts minor changes in format of DIRECTORY.md (#1461) 2019-10-25 19:33:24 +02:00
searches Improved readability (#1615) 2019-12-07 06:39:59 +01:00
sorts improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01:00
strings Reverse Words (#1581) 2019-11-18 12:47:26 +01:00
traversals psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
web_programming added current stock price (#1590) 2019-11-23 13:54:06 +01:00
.coveragerc Add pytest-cov (#1578) 2019-11-17 19:37:58 +01:00
.gitignore Update .gitignore to remove __pycache__/ (#1127) 2019-08-17 00:46:33 +02:00
.travis.yml Add pytest-cov (#1578) 2019-11-17 19:37:58 +01:00
CONTRIBUTING.md Readability of CONTRIBUTING.md (#1422) 2019-10-23 04:07:50 +08:00
DIRECTORY.md improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01:00
LICENSE.md Create CONTRIBUTING.md (#864) 2019-06-02 12:14:18 +08:00
README.md Readability of CONTRIBUTING.md (#1422) 2019-10-23 04:07:50 +08:00
requirements.txt Add pytest-cov (#1578) 2019-11-17 19:37:58 +01:00
Travis_CI_tests_are_failing.md Add Travis_CI_tests_are_failing.md (#1499) 2019-10-28 13:38:08 +01:00

The Algorithms - Python

Donate  Build Status  LGTM  Gitter chat  contributions welcome   

All algorithms implemented in Python (for education)

These implementations are for learning purposes. They may be less efficient than the implementations in the Python standard library.

Contribution Guidelines

Read our Contribution Guidelines before you contribute.

Community Channel

We're on Gitter! Please join us.

List of Algorithms

See our directory.

Open in Gitpod