Exercise: Use the %in% operator

You are standing in the supermarket and need to determine which you can check-off your shopping_list:

  • Use the %in% operator and determine which shopping_list items you can check-off your list based on the items in your basket.
  • Print the output of the resulting vector to the console.

Submit code to see output here.

Use basic operators