On Feb 7, 8:46 am, Dave Angel <d...@davea.name> wrote: > On 02/07/2012 07:27 AM, Sammy Danso wrote:> Hello experts, > > I am having trouble accessing the content of my list. > > my list content has 2-pair value with the exception of one which has single > > value. here is an example ['a', 1, 'b', 1, 'c', 3, 'd']
First you need to explain why you're using a flat list when a number of other structures would be the better choice; like a list of tuples or a dict. -- http://mail.python.org/mailman/listinfo/python-list