On Fri, Oct 21, 2011 at 12:38 AM, Gora Mohanty <[email protected]> wrote:
> On Fri, Oct 21, 2011 at 12:10 AM, Asif Jamadar <[email protected]> 
> wrote:
[...]
> list1 = []
> for i in criteria_list[:2]:
>    for j in range(4):
>        l.append( ( i, j + 1 ) )

Oops, that last line should be list1.append(...) instead of l.append(...)

Regards,
Gora
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to