This screen confuses me... Is it correct or not?


#1

this says Way to go but is full of errors... What's the deal?
It looks correct but doesn't execute


#2

It's an error with codecademy, a problem I can spot right away is that you have

frequencies = frequencies.sort_by do {|word, count| count}

The 'do' isn't necessary.


#3

Thanx, that helped a lot. Once I got rid of the 'do' I then had to get rid of the 'end' then everything was fine!