help wanted with list

Xavier Lapointe lapointe.xavier at gmail.com
Thu Sep 24 22:48:26 CEST 2009


Not sure I understand well, but let say I did..

list[list.index('a')+1]

Le 14:59, Ahmed Shamim a écrit :
> list = [ 'a', '1', 'b', '2']
> what would be the logic, if I input a to get output 1.
>
>    




More information about the Python-list mailing list