For me, the issue seems to be fixed by changing the following line:
I suspect because print doesn't add a new line after
-, the interpreter might be getting confused. If you change the line to be
puts "-" instead, it should work.
Sometimes being allowed to have a
symbol or a
string for hash keys can be confusing too.
In this case, because the hash keys are
: isn't needed, so
:"Scott Pilgrim vs The World" => 3.9
can be simplified to
"Scott Pilgrim vs The World" => 3.9
Hopefully that helps, and you can move on!