Here after making the list of titles and traversing it in order to print all the length I am getting the list of length of each movie title printed. However when I am introducing the empty dictionary to get the frequency and the corresponding number of movies I am getting the following error:
Please guide.