15.Now you try


#1

my_array = ["raindrops", :kettles, "whiskers", :mittens, :package]

Add your code below!

symbol_filter = lambda {|my_array| my_array.is_a?Symbol}
symbols = my_array.select(&symbol_filter)

I'm getting an error like this
"Oops, try again. Hey now—no changing my_array!"


#2

You edited the array on line one, you have package instead of packages


#3

Thanks a lot, Felt like i have been stuck on this forever


#5

Posting full answers without explanation is against CC guidelines, thank you for your understanding