Question: 9.2 (LAB) Dictionary Basics (Python 3)(Dictionaries) 1) create a dictionary called movies. The key is the name of a movie and the value is the

9.2 (LAB) Dictionary Basics (Python 3)(Dictionaries) 1) create a dictionary called movies. The key is the name of a movie and the value is the rating of the movie. Our dictionary has "Wonder Woman" which has a rating of 7.9, "Dunkirk" with a rating of 8.5, "The Dark Tower with a rating of 6.0, and "The Emoji Movie" with a rating of 1.8.(1 pt). The value should be a float 2) Get the value for the key of "Wonder Woman" from the dictionary movies. (1 pt) 3) Change the rating for the show "The Tick" from the dictionary of shows to 7.2 302906,12947640x3zay7 LAB ACTIVITY 9.2.1: (LAB) Dictionary Basics (Python 3) Dictionaries) 0/5 main.py Load default template... 1 movies = # Create dictionary here 2 3 ww_rating - movies [] # Put the key for the value you are trying to find in the brackets. 5 shows = {"The Tick":6.3, "The Walking Dead":8.5, "Breaking Bad":9.5, "Rick and Morty":9.3 } 6 # Change the value for the tick ( not in the line above but by updating the value for th ekey below 7 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
