No sense (12. Rocket has landed)


I searched similar topics, this task is simple yet got stuck & can't figure out why.
Using same code that worked on previous exercise, made the changes as suggested on the example,
yet I get an error, tried to put ' instead of ", checked spaces, commas, nothing worked. Anyone else facing same problem or to help? Thanks.

(ruby):1: syntax error, unexpected ':', expecting tASSOC
"Benny Hills": "comedy",
(ruby):1: syntax error, unexpected ',', expecting $end
"Benny Hills": "comedy",

movies = {
    "Benny Hills": "comedy", 
    "Tomb Raider Lara Croft": "action" 


Solved it. The problem was the " on the keys (titles) , as long you remove , it works. Simple yet weird.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.