﻿[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.31,0:00:04.04,Default,,0000,0000,0000,,So here's one way to solve the quiz; we're going to create a dictionary Dialogue: 0,0:00:04.04,0:00:09.52,Default,,0000,0000,0000,,called Population, and then we'll add some cities to it. We'll add Shanghai, Dialogue: 0,0:00:09.52,0:00:14.35,Default,,0000,0000,0000,,has population 17.8 million. Istanbul has population Dialogue: 0,0:00:14.35,0:00:19.87,Default,,0000,0000,0000,,13.3 million. Karachi has population 13 million, and Dialogue: 0,0:00:19.87,0:00:24.90,Default,,0000,0000,0000,,Mumbai has population 12.5. I'm also going to add my home town, Dialogue: 0,0:00:26.03,0:00:31.16,Default,,0000,0000,0000,,which is Charlottesville, and the population of Charlottesville is pretty small Dialogue: 0,0:00:31.16,0:00:39.54,Default,,0000,0000,0000,,compared to Shanghai. It is 0.043 million people. Only 43,000. So now we've Dialogue: 0,0:00:39.54,0:00:44.47,Default,,0000,0000,0000,,created our dictionary. We've populated it with some entries. We can print those Dialogue: 0,0:00:44.47,0:00:50.44,Default,,0000,0000,0000,,out. So if we look at the value of population of Shanghai, Dialogue: 0,0:00:50.44,0:00:54.86,Default,,0000,0000,0000,,that will get that entry in the dictionary, and we can see that we get the Dialogue: 0,0:00:54.86,0:00:57.46,Default,,0000,0000,0000,,result 17.8; we can also print out the Dialogue: 0,0:00:57.46,0:01:03.11,Default,,0000,0000,0000,,population of Charlottesville, and we get the result 0.043