Skip to content

Instantly share code, notes, and snippets.

@niranjrajasekaran
Last active May 8, 2019 08:52
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 niranjrajasekaran/8a17c5c4e15b085334078bae6e224b0e to your computer and use it in GitHub Desktop.
Save niranjrajasekaran/8a17c5c4e15b085334078bae6e224b0e to your computer and use it in GitHub Desktop.
Introduction to python lists
In [1]: l = [1, 2, 3, 4, 5]
In [2]: type(l)
Out[2]: list
In [3]: l[0]
Out[3]: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment