13,420
edits
Changes
→PART 1 - Navigating Items in Lists
</source>List are constructed similar to arrays. The best way to get individual '''elements''' from a list is using the list '''index'''. The index is a number starting from 0 to (number_of_items - 1), the list index starts counting at 0.<br><br>
:#Issue the following in the ipython shell to obtain stored data:<source>
list1[0] # First element item in list1list2[1] # Second element item in list2list3[-1] # Last element item in list3
</source>
:#Issue the following to provide ranges of items in a list: <source>