Session Ready
Exercise

Filtering

Instructions
100 XP

Now we will extend the code from the previous exercises to report the states in the Northeast with a murder rate lower than 1.

  • Define low as before.
  • Use the & operator to create a new object ind that is true when low is true and the state is in the Northeast
  • Use the brackets [ and ind to show the state names that satisfy this condition