code: def print_bit_list_stats(bit_list):
      
      print "%i Bits:" % len(bit_list),
      positive_count = 0
      negative_count = 0
      for bit in bit_list:
          if bit == 1:
              positive_count += 1
          elif bit == 0:
              negative_count += 1
          else:
              raise TypeError("Not a bit: %s" % repr(bit))
      print "%i positive bits and %i negative bits" % (positive_count, negative_count)
docs: >>> print_bit_list_stats([1,1,1,1,0,0,0,0])
      8 Bits: 4 positive bits and 4 negative bits