DEV Community

Discussion on: Fresh Tomatoes guys

Collapse
 
turry profile image
Turry

Cool guide, I like it!
One idea is to substitute the
movie.Scores(“aliddin”)
To maybe
movie.Scores(text)
Where:
text = input(Enter the movie name: )
Else print movie not found!

Collapse
 
freakflames29 profile image
Sourav das

Yes! in this case if a movie is not found it will return an empty dictionary