Dont get this help pleaase!


#1


https://www.codecademy.com/en/courses/ruby-beginner-en-0i8v1/0/4?curriculum_id=5059f8619189a5000201fbcb


movies = { titanic: 7,
           pokemo: 8,
           digimo: 9
       }
       
 puts"Choose one of these\n\t"
 puts"Hit add if you wanna 'add' a movie\t\n"
 puts"if you wanna delete a movie hit 'delete'\t\n"
 puts" Wanna update rating?\t\n"
 puts"wanna display the movies? If so hit display"
 
 
  choice = gets.downcase
  
  case choice
  
  when "add"
title = gets.chomp
puts"Now please rate  the mov"
 if movies[title].nil?
    puts "What's the rating? (Type a number 0 to 4.)"
    rating = gets.chomp
    movies[title] = rating.to_i
    puts "#{title} has been added with a rating of #{rating}."
end
  end
 
its telling me that i didnt add to the movie hash but i thought i did. 

Replace this line with your code.


#2

Treat movie symbols as proper names that preserve the capitalization and white space, if any. This line can be taken out.

movies = { 
    Titanic: 2,
    Pokemo: 3,
    Digimo: 4
}

First you need to get a movie name. Remember to respect proper name grammar.