20. Creating a Lambda


#1


Error: Oops, try again. Make sure to put your capital M in quotes, like this: 'M'

I tried both single and double. Still no green.


first_half = lambda {|k,v| k < "M"}


#2

I believe the question is trying to get find all of the Values that are less than "M," not the keys. So it would have to look like this:

first_half = lambda { |k,v| v < "M" }