Skip to content

Instantly share code, notes, and snippets.

@nathanmpark
Last active October 2, 2015 07:25
Show Gist options
  • Save nathanmpark/fb5e3339977daf7f73b9 to your computer and use it in GitHub Desktop.
Save nathanmpark/fb5e3339977daf7f73b9 to your computer and use it in GitHub Desktop.
# Initialize Array
my_array = []
# Example Array
my_array = [1,2,3,4,5]
# Array indexes display items starting from 0 to -1
my_array[0] = 1
my_array[-1] = 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment