Updates the Slicing Concepts exercise of the Variables lesson to:
use concrete examples
use the standard term 'stop' for the end of a range in Python
add an example of using two negative indices
Addresses the Slicing Concepts part of issue #460 , but not the other ideas in there. Follows the model given by @mforneris, and also adds the double negative indices example suggested by @brianmatthewthomas .
I haven't managed to get make lesson-check work for me (I assume that's the best way for me to test my changes don't break the page formatting locally before submitting?) so this is unchecked, sorry.
Also, sorry about the whitespace changes, I'm having trouble committing the file without making those changes for some reason.
If either of these are problems, let me know and I'll put more time into fixing them!
Updates the Slicing Concepts exercise of the Variables lesson to:
Addresses the Slicing Concepts part of issue #460 , but not the other ideas in there. Follows the model given by @mforneris, and also adds the double negative indices example suggested by @brianmatthewthomas .
I haven't managed to get
make lesson-check
work for me (I assume that's the best way for me to test my changes don't break the page formatting locally before submitting?) so this is unchecked, sorry.Also, sorry about the whitespace changes, I'm having trouble committing the file without making those changes for some reason.
If either of these are problems, let me know and I'll put more time into fixing them!