Created
October 23, 2013 18:08
-
-
Save pgainda/7123630 to your computer and use it in GitHub Desktop.
A positive stride progresses through the list from left to right; a negative stride progresses through the list from right to left.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_list = range(1, 11) | |
# Add your code below! | |
backwards= my_list[::-1] | |
print backwards |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment