Skip to content

Commit ab66e3e

Browse files
authored
Update 04-lists.md
Change the primes list in the Heterogeneous Lists section. Taken 1 out of the list because it is not a prime number.
1 parent 2bd4f3d commit ab66e3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_episodes/04-lists.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ copy it and then modify this list, we can cause all sorts of trouble. This also
273273
the list using the above functions:
274274
275275
~~~
276-
odds = [1, 3, 5, 7]
276+
odds = [3, 5, 7]
277277
primes = odds
278278
primes.append(2)
279279
print('primes:', primes)
@@ -282,8 +282,8 @@ print('odds:', odds)
282282
{: .language-python}
283283
284284
~~~
285-
primes: [1, 3, 5, 7, 2]
286-
odds: [1, 3, 5, 7, 2]
285+
primes: [3, 5, 7, 2]
286+
odds: [3, 5, 7, 2]
287287
~~~
288288
{: .output}
289289

0 commit comments

Comments
 (0)