counting occurances in lists within lists.

Adonis deltapigz at telocity.com
Sat Dec 21 12:47:01 EST 2002


nevermind got it. im an idiot.


"Adonis" <deltapigz at telocity.com> wrote in message
news:3e04a63e$1_6 at nopics.sjc...
> how do i effectively count the amount of 0s in what is mentioned on the
> subject.
> i.e.
> [[0,0,0,1,2,3]
>  [4,5,6,7,8,9]
>  [10,11,12,13,14,15]]
>
> return 3 0s found.
>
> i have googled but my search phrase was not correct.
> any help is greatly appreciated.
>
> Adonis
>
>





More information about the Python-list mailing list