Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14eff55

Browse files
committed
Combinatorics
1 parent 8759cd8 commit 14eff55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ shuffle(<list>)
541541
Combinatorics
542542
-------------
543543
* **Every function returns an iterator.**
544-
* **If you want to print the iterator, you need to pass it to the list() function!**
544+
* **If you want to print the iterator, you need to pass it to the list() function first!**
545545

546546
```python
547547
from itertools import product, combinations, combinations_with_replacement, permutations

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@
613613

614614
<div><h2 id="combinatorics"><a href="#combinatorics" name="combinatorics">#</a>Combinatorics</h2><ul>
615615
<li><strong>Every function returns an iterator.</strong></li>
616-
<li><strong>If you want to print the iterator, you need to pass it to the list() function!</strong></li>
616+
<li><strong>If you want to print the iterator, you need to pass it to the list() function first!</strong></li>
617617
</ul><pre><code class="python language-python hljs"><span class="hljs-keyword">from</span> itertools <span class="hljs-keyword">import</span> product, combinations, combinations_with_replacement, permutations
618618
</code></pre></div>
619619

0 commit comments

Comments
 (0)