Created
August 22, 2017 02:13
-
-
Save waldo323/e62914b2cf9fec37df06741cdbb38de1 to your computer and use it in GitHub Desktop.
how to get a range of values into a list
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
list(range(10)) | |
'''[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]''' | |
list(range(5,10)) | |
'''[5, 6, 7, 8, 9]''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment