mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-28 07:21:07 +00:00
iterating_through_submasks.py is added in dynamic_programming
This commit is contained in:
parent
00351ca899
commit
b3946094a7
|
@ -35,7 +35,7 @@ def list_of_submasks(mask) -> list:
|
|||
|
||||
"""
|
||||
|
||||
fmt = "n needs to be positive integer, your input {}"
|
||||
fmt = "mask needs to be positive integer, your input {}"
|
||||
assert isinstance(mask, int) and mask > 0, fmt.format(mask)
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user