|
@ -413,7 +413,7 @@ shuffle(<list>) |
|
|
Combinatorics |
|
|
Combinatorics |
|
|
------------- |
|
|
------------- |
|
|
* **Every function returns an iterator.** |
|
|
* **Every function returns an iterator.** |
|
|
* **If you want to print the iterator, you need to pass it to the list() function first!** |
|
|
|
|
|
|
|
|
* **If you want to print the iterator, you need to pass it to the list() function!** |
|
|
|
|
|
|
|
|
```python |
|
|
```python |
|
|
from itertools import product, combinations, combinations_with_replacement, permutations |
|
|
from itertools import product, combinations, combinations_with_replacement, permutations |
|
|