Please do in python language
Part III: Population Data (20 points) Write a function sum-populations that takes five arguments, in this order 1. which continent: one of the following strings: 'Africa' 'Americas', 'Asia', 'Europe or Oceania 2. min gdp: a positive integer 3. countries: a dictionary that maps a continent name to a list of some of the countries in that continent 4. gdps: a dictionary that maps a country name to that country's GDP (gross domestic product) in millions USD (SMM) 5. populations: a dictionary that maps a country name to its population Here are sample arguments that could be passed to the function: 1. which continentAfrica" 2. min gdp 1529760 3. countries-[ 'Americas''Argentina, 'Uruguay, 'Brazil', 'Puerto Rico', 'Panama', Oceania' 'Fiji', Australia', 'New Zealand', Papua New Guinea', ia l'Myanmar,'Israel', 'Africa' 'Senegal', 'Lesotho', 'South Africa', Togo', 'Sierra Leone', Europe 'Norway', Greece' 4. gdps Argentina 545866, 'Uruguay 52420, 'Brazil' 1796186, Puerto Rico' 103135, 'Panama' 55188, 'Fiji' 4632, Australia' 1204616, 'New Zealand' 185017, 'Papua New Guinea' 16929, Myanmar 67430, Israel' 318744, Senegal' 14765, 'Lesotho' 2200, South Africa' 294841, 'Togo 4400, Sierra Leone 3669, 'Norway 370557, 'Greece 194559 5. populations 'Argentina 43847430, 'Uruguay 3444006 Brazil 207652865, 'Puerto Rico 3667903, Pama 4034119, Fiji': 898760, Australia 24125848, New Zealand 4660833, Papua New Guinea' 8084991, 'Myanmar 52885223, Israel' 8191828, Senegal' 15411614, 'Lesotho 2203821, South Africa' 56015473, 'Togo 7606374, 'Sierra Leone7396190, Norway 5254694 'Greece' 11183716 Using the given arguments, the function computes and returns the sum of populations of all countries that are located in continent and which have a GDP that is greater than or equal to min.gdp. For example, suppose which continent- , Americas, and min gdp-1000000. The function would consult the countries dictionary to get a list of countries from the Americas. It would then consult the gdps dictionary to find all countries with a GDP of at least $1,000,000M and add together the populations of all such countries