Skip to content

Commit c2d6678

Browse files
authored
Update 11-lists.md
Corrected section for primes - 9 isn't a prime.
1 parent a23f723 commit c2d6678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_episodes/11-lists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ temperatures has become: [16.5, 17.5, 17.7, 17.5, 17.6, 17.9, 18.2]
101101
* Not a function or a method, but a statement in the language.
102102

103103
~~~
104-
primes = [2, 3, 5, 7, 9]
104+
primes = [2, 3, 5, 7, 11]
105105
print('primes before removing last item:', primes)
106106
del primes[4]
107107
print('primes after removing last item:', primes)
108108
~~~
109109
{: .python}
110110
~~~
111-
primes before removing last item: [2, 3, 5, 7, 9]
111+
primes before removing last item: [2, 3, 5, 7, 11]
112112
primes after removing last item: [2, 3, 5, 7]
113113
~~~
114114
{: .output}

0 commit comments

Comments
 (0)