Dear all,
I have 100 lists like the below: list1={....} list2={....} .... list100={....}
For counting zero values for a list I used "Count[list1, x_ /; x <= 0]. How do I use this command for the 100 lists?
Here is one way
list1 = RandomInteger[{0, 3}, 10]; list2 = RandomInteger[{0, 3}, 10]; list3 = RandomInteger[{0, 3}, 10]; Count[Symbol["list" <> ToString@#], x_ /; x == 0] & /@ Range[3]