We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 858046e + db78306 commit d90252eCopy full SHA for d90252e
_episodes/11-lists.md
@@ -277,7 +277,7 @@ IndexError: string index out of range
277
> > ~~~
278
> > {: .output}
279
> > 1. A negative index begins at the final element.
280
-> > 2. `-(N - 1)` corresponds to the first index, which is the [0] index.
+> > 2. `-(N)` corresponds to the first index, which is the [0] index.
281
> > 3. It removes the final element of the list.
282
> > 4. You could do the following: `print(values[0:-1])`
283
> {: .solution}
0 commit comments