to get the value associated with keygive the name of the dictionary and then place the key inside set of square bracketsas shown herealien_ {'color''green'print(alien_ ['color']this returns the value associated with the key 'colorfrom the dictionary alien_ green you can have an unlimited number of key-value pairs in dictionary for examplehere' the original alien_ dictionary with two key-value pairsalien_ {'color''green''points' now you can access either the color or the point value of alien_ if player shoots down this alienyou can look up how many points they should earn using code like thisalien_ {'color''green''points' new_points alien_ ['points' print("you just earned str(new_pointspoints!"once the dictionary has been definedthe code at pulls the value associated with the key 'pointsfrom the dictionary this value is then stored in the variable new_points the line at converts this integer value to string and prints statement about how many points the player just earnedyou just earned pointsif you run this code every time an alien is shot downthe alien' point value will be retrieved adding new key-value pairs dictionaries are dynamic structuresand you can add new key-value pairs to dictionary at any time for exampleto add new key-value pairyou would give the name of the dictionary followed by the new key in square brackets along with the new value let' add two new pieces of information to the alien_ dictionarythe alien' xand -coordinateswhich will help us display the alien in particular position on the screen let' place the alien on the left edge of the screen pixels down from the top because screen coordinates usually start at the upper-left corner of the screenwe'll place the alien on the left dictionaries