From 14eff553c023782acdb7272014f73018e71493dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 11 Mar 2020 12:00:00 +0100 Subject: [PATCH] Combinatorics --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1730421..ea2e439 100644 --- a/README.md +++ b/README.md @@ -541,7 +541,7 @@ shuffle() Combinatorics ------------- * **Every function returns an iterator.** -* **If you want to print the iterator, you need to pass it to the list() function!** +* **If you want to print the iterator, you need to pass it to the list() function first!** ```python from itertools import product, combinations, combinations_with_replacement, permutations diff --git a/index.html b/index.html index eb86f4a..1d59dce 100644 --- a/index.html +++ b/index.html @@ -613,7 +613,7 @@ shuffle(<list>)

#Combinatorics

  • Every function returns an iterator.
  • -
  • If you want to print the iterator, you need to pass it to the list() function!
  • +
  • If you want to print the iterator, you need to pass it to the list() function first!
from itertools import product, combinations, combinations_with_replacement, permutations