mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
19c3871b21
* Added function to convert from decimal to another base * Update conversions/decimal_to_any.py Changed type() to isinstance() Co-authored-by: Christian Clauss <cclauss@me.com> * Update conversions/decimal_to_any.py Changed to base in (0, 1) Co-authored-by: Christian Clauss <cclauss@me.com> * Update conversions/decimal_to_any.py Updated to div not in (0, 1) Co-authored-by: Christian Clauss <cclauss@me.com> * Update conversions/decimal_to_any.py Updated to make condition clearer Co-authored-by: Christian Clauss <cclauss@me.com> * Update conversions/decimal_to_any.py Using divmod() instead of % operator Co-authored-by: Christian Clauss <cclauss@me.com> * Update conversions/decimal_to_any.py Improved readability on a docstring test Co-authored-by: Christian Clauss <cclauss@me.com> * Update conversions/decimal_to_any.py Changed use of type() to isinstance() Co-authored-by: Christian Clauss <cclauss@me.com> * Update conversions/decimal_to_any.py Changed from use of type() to isinstance() Co-authored-by: Christian Clauss <cclauss@me.com> * Made changes and improved function * Update conversions/decimal_to_any.py Added space to docstring test Co-authored-by: Christian Clauss <cclauss@me.com> * Changed action for bad input * Added support for conversions up to base 36 (#2087) * Added support for conversions up to base 36 and renamed HEXADECIMAL dict (#2087) * Fixed whitespace issue (#2087) * Fixed issue with line length (#2087) * Fixed issue with conversions past base-10 failing (#2087) * Added more robust testing (#2087) Co-authored-by: Christian Clauss <cclauss@me.com> |
||
---|---|---|
.github | ||
arithmetic_analysis | ||
backtracking | ||
bit_manipulation | ||
blockchain | ||
boolean_algebra | ||
cellular_automata | ||
ciphers | ||
compression | ||
computer_vision | ||
conversions | ||
data_structures | ||
digital_image_processing | ||
divide_and_conquer | ||
dynamic_programming | ||
file_transfer | ||
fuzzy_logic | ||
geodesy | ||
graphics | ||
graphs | ||
greedy_method | ||
hashes | ||
images | ||
linear_algebra | ||
machine_learning | ||
maths | ||
matrix | ||
networking_flow | ||
neural_network | ||
optimization | ||
other | ||
project_euler | ||
quantum | ||
scheduling | ||
scripts | ||
searches | ||
sorts | ||
strings | ||
traversals | ||
web_programming | ||
.coveragerc | ||
.gitignore | ||
.gitpod.yml | ||
.travis.yml | ||
CONTRIBUTING.md | ||
DIRECTORY.md | ||
LICENSE.md | ||
README.md | ||
requirements.txt | ||
Travis_CI_tests_are_failing.md |
The Algorithms - Python
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.