Python: Retrieve Items From List

Discussion created by Lady_Jane on Nov 1, 2011
Latest reply on Nov 1, 2011 by Lady_Jane
Hi everyone,
I'm struggling with solving the problem described in this thread:

I started a new thread because I have questions specifically related to lists in python.
Lets say my list is:
list = [2,4,6,8]
I want to be able to do 2 things which I thought should be fairly simple:
1. Get the total number of items in the list (4)
2. Get the value of a list item at a specific index (eg. return 6 for index value 3 - or 2 if the index starts at 0)

The methods listed here: don't seem to do either of those things.  Is there some alternate method or object that would allow me to do that?