Skip to content

Instantly share code, notes, and snippets.

@waldo323
Created August 22, 2017 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waldo323/e62914b2cf9fec37df06741cdbb38de1 to your computer and use it in GitHub Desktop.
Save waldo323/e62914b2cf9fec37df06741cdbb38de1 to your computer and use it in GitHub Desktop.
how to get a range of values into a list
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