Using nested lists and tables

Zeynel azeynel1 at gmail.com
Thu Oct 28 09:42:56 EDT 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