mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
18ffc4dec8
* Update password_generator.py 1. Use secrets module instead of random for passwords as it gives a secure source of randomness 2. Add type annotations for functions 3. Replace ctbi (variable for the characters to be included) with a more meaningful and short name 4. Use integer division instead of obtaining the integer part of a division computing a floating point * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
__init__.py | ||
activity_selection.py | ||
alternative_list_arrange.py | ||
check_strong_password.py | ||
davisb_putnamb_logemannb_loveland.py | ||
dijkstra_bankers_algorithm.py | ||
doomsday.py | ||
fischer_yates_shuffle.py | ||
gauss_easter.py | ||
graham_scan.py | ||
greedy.py | ||
least_recently_used.py | ||
lfu_cache.py | ||
linear_congruential_generator.py | ||
lru_cache.py | ||
magicdiamondpattern.py | ||
maximum_subarray.py | ||
nested_brackets.py | ||
password_generator.py | ||
scoring_algorithm.py | ||
sdes.py | ||
tower_of_hanoi.py |