Well done!

You have completed Review Boolean Array Indexing!

Quiz Question 1 of 2

Considering the following array of numbers of cats a household owns:

cat_counts = np.array([1, 0, 2, 6, 5, 2, 1, 3, 18, 1, 2])

Which of the following snippets of code will result in the values from the cat_counts array that are more than 2 cats?

Choose the correct answer below:

Skip Quiz Review Video