6.Error! Error! Please tell me wwhyy. Thank you!


#1

I'm stuck at 6. Error! Error!
I already looked at other people's problems and corrected some of my code lines but it still sucks.


#2

Here is my code


#3

on the 8th line, you have written:
if movies[titles.to_sym]==nil
it should actually be
if movies[title.to_sym]==nil
this is because you have defined the variable as title and not titles.


#4

Thank you so much :smiley: hahaha, im so careless!


#5

You are welcome. It is fine, sometimes people make mistake. Nobody is perfect. Hope you enjoy the course and do not get stuck on any other solution. Bye!!


#6

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