Skip to content
All Algorithms implemented in Python
Python
Branch: master
Clone or download
naviji and cclauss Add Monte Carlo dice simulation algorithm (#1759)
* Implement basic dice simulation

* Add tests to throw_dice

* Fix comment

* Add type hints

* Add additional comments

* Update monte_carlo_dice.py

Co-authored-by: Christian Clauss <cclauss@me.com>
Latest commit 748702b Feb 17, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Fix typo (#1718) Jan 27, 2020
arithmetic_analysis Create codespell.yml (#1698) Jan 18, 2020
backtracking Create codespell.yml (#1698) Jan 18, 2020
blockchain Add Topological Sort (#1302) Oct 18, 2019
boolean_algebra Tabs --> spaces in quine_mc_cluskey.py (#1426) Nov 21, 2019
ciphers Fixes unused variable errors in LGTM (#1746) Feb 11, 2020
compression Create codespell.yml (#1698) Jan 18, 2020
conversions Create codespell.yml (#1698) Jan 18, 2020
data_structures Fixes black failures from Previous PR (#1751) Feb 12, 2020
digital_image_processing Create codespell.yml (#1698) Jan 18, 2020
divide_and_conquer Corrects failing check in master (#1676) Jan 12, 2020
dynamic_programming Fixes black failures from Previous PR (#1751) Feb 12, 2020
file_transfer Create codespell.yml (#1698) Jan 18, 2020
fuzzy_logic Remove code with side effects from main (#1577) Nov 17, 2019
geodesy Created geodesy section with one algorithm (#1757) Feb 16, 2020
graphics Added implementation for Bezier Curve, under a new graphics directory. ( Jan 25, 2020
graphs Fixes unused variable errors in LGTM (#1746) Feb 11, 2020
hashes Fixes black failures from Previous PR (#1751) Feb 12, 2020
images Add Travis_CI_tests_are_failing.md (#1499) Oct 28, 2019
linear_algebra Create RayleighQuotient.py (#1749) Feb 14, 2020
machine_learning Added Random Forest Regressor and tested with flake8 (#1733) Feb 7, 2020
maths Add Monte Carlo dice simulation algorithm (#1759) Feb 17, 2020
matrix Fixes unused variable errors in LGTM (#1746) Feb 11, 2020
networking_flow Create codespell.yml (#1698) Jan 18, 2020
neural_network Create codespell.yml (#1698) Jan 18, 2020
optimization added hill climbing algorithm (#1666) Jan 8, 2020
other Create codespell.yml (#1698) Jan 18, 2020
project_euler Create codespell.yml (#1698) Jan 18, 2020
scheduling Fixes black failures (#1742) Feb 10, 2020
scripts minor changes in format of DIRECTORY.md (#1461) Oct 25, 2019
searches Fixes black failures from Previous PR (#1751) Feb 12, 2020
sorts Create codespell.yml (#1698) Jan 18, 2020
strings Fixes black failures from Previous PR (#1751) Feb 12, 2020
traversals psf/black code formatting (#1277) Oct 5, 2019
web_programming Create get_imdb_top_250_movies_csv.py (#1659) Jan 5, 2020
.coveragerc Add pytest-cov (#1578) Nov 17, 2019
.gitignore Update .gitignore to remove __pycache__/ (#1127) Aug 16, 2019
.gitpod.yml Add gitpod config (#1744) Feb 10, 2020
.travis.yml Travis CI: Don’t allow bare exceptions (#1734) Feb 7, 2020
CONTRIBUTING.md Mandates referencing issue in PR (#1717) Jan 27, 2020
DIRECTORY.md Fix typo (#1718) Jan 27, 2020
LICENSE.md Create CONTRIBUTING.md (#864) Jun 2, 2019
README.md Add gitpod config (#1744) Feb 10, 2020
Travis_CI_tests_are_failing.md Add Travis_CI_tests_are_failing.md (#1499) Oct 28, 2019
requirements.txt Remove \r from strings (#1622) Dec 10, 2019

README.md

The Algorithms - Python

Gitpod Ready-to-Code Gitter chat  Build Status  LGTM  contributions welcome  Donate   

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.

You can’t perform that action at this time.