Tim Chase <[EMAIL PROTECTED]> wrote: >bitCount = len([c for c in "01001010101" if c=="1"])
bitCount = "01001010101".count("1") -- \S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/ ___ | "Frankly I have no feelings towards penguins one way or the other" \X/ | -- Arthur C. Clarke her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
-- http://mail.python.org/mailman/listinfo/python-list