mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-30 16:31:08 +00:00
ef9827166e
* Approve functions used as default argumenets * The default value for **seed** is the result of a function call The default value for **seed** is the result of a function call which is not normally recommended and causes flake8-bugbear to raise a B008 error. However, in this case, it is accptable because `LinearCongruentialGenerator.__init__()` will only be called once per instance and it ensures that each instance will generate a unique sequence of numbers. * The default value for **backend** is the result of a function call The default value for **backend** is the result of a function call which is not normally recommended and causes flake8-bugbear to raise a B008 error. However, in this case, it is accptable because `Aer.get_backend()` is called when the function is definition and that same backend is then reused for function calls. * Update linear_congruential_generator.py * Update ripple_adder_classic.py * Update ripple_adder_classic.py * Update ripple_adder_classic.py * Update ripple_adder_classic.py * Update ripple_adder_classic.py |
||
---|---|---|
.. | ||
__init__.py | ||
activity_selection.py | ||
date_to_weekday.py | ||
davis–putnam–logemann–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 | ||
nested_brackets.py | ||
password_generator.py | ||
scoring_algorithm.py | ||
sdes.py | ||
tower_of_hanoi.py |