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


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


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.


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!