1 00:00:01,070 --> 00:00:02,620 - [Instructor] In this self check exercise, 2 00:00:02,620 --> 00:00:06,790 we'd like you to simply create a new dictionary named states 3 00:00:06,790 --> 00:00:10,180 and map three state abbreviations 4 00:00:10,180 --> 00:00:12,780 to their corresponding state names. 5 00:00:12,780 --> 00:00:15,340 So we're not giving you specific ones here, 6 00:00:15,340 --> 00:00:16,440 but in my solution, 7 00:00:16,440 --> 00:00:19,170 I'll specifically map the state codes 8 00:00:19,170 --> 00:00:22,420 for Vermont, New Hampshire and Massachusetts 9 00:00:22,420 --> 00:00:24,470 to their corresponding names. 10 00:00:24,470 --> 00:00:26,530 Go ahead and pause the video to give that a shot 11 00:00:26,530 --> 00:00:28,380 and then come back to see the answer. 12 00:00:34,110 --> 00:00:36,900 Okay, let's go ahead and reveal my answer. 13 00:00:36,900 --> 00:00:41,630 As you can see here, we've listed out three key value pairs. 14 00:00:41,630 --> 00:00:43,430 You may be wondering why I bothered 15 00:00:43,430 --> 00:00:45,646 to split this across multiple lines. 16 00:00:45,646 --> 00:00:49,220 Again, when we're doing this for publication in a book, 17 00:00:49,220 --> 00:00:52,100 we have a limited number of characters wide 18 00:00:52,100 --> 00:00:53,410 that we can work with, 19 00:00:53,410 --> 00:00:56,330 so I simply took the version from the book 20 00:00:56,330 --> 00:00:59,940 and pasted it into the cell that you see here. 21 00:00:59,940 --> 00:01:02,440 But in any case, we have three key value pairs, 22 00:01:02,440 --> 00:01:05,540 Vermont, New Hampshire and Massachusetts codes 23 00:01:05,540 --> 00:01:08,710 and their corresponding full string names, 24 00:01:08,710 --> 00:01:12,380 and if I execute that, I can then evaluate states 25 00:01:12,380 --> 00:01:15,123 and see the contents of my dictionary.