Using nested lists and tables

Zeynel azeynel1 at gmail.com
Thu Oct 28 15:42:56 CEST 2010


On Oct 28, 9:35 am, Iain King <iaink... at gmail.com> wrote:
> It's equivalent to:
>
> if columns:
>     if columns[-1][0] == s:
>         dostuff()
>
> i.e. check columns is not empty and then check if the last item
> startswith 's'.

Thanks!




More information about the Python-list mailing list