Placing markers on European capitals

import folium locations = [ ('Ljubljana', 'Slovenia', [46.056947, 14.505751]), ('Vienna', 'Austria', [48.208174, 16.373819]), ('Amsterdam', 'Netherlands', [52.370216, 4.895168]), ('Andorra la Vella', 'Andorra', [42.506317, 1.521835]), ('Bern', 'Switzerland', [46.947974, 7.447447]), ('Brussels', 'Belgium', [50.850346, 4.351721]), ('Douglas', 'Isle of man (UK)', [54.152337, -4.486123]), ('Dublin', 'Ireland', [53.349805, -6.260310]), ('London', 'United Kingdom', [51.507351, -0.127758]), ('Luxembourg', 'Luxembourg', [49.815273, 6.129583]), ('Paris', 'France', [48.856614, 2.352222]), ('Saint Heller', 'Jersey (UK)', [49.180502, -2.103233]), ('Saint Peter Port', 'Guernsey (UK)', [49.454168, -2.549707]), ('Copenhagen', 'Denmark', [55.676097, 12.568337]), ('Helsinki', 'Finland', [60.169856, 24.938379]), ('Longyearbyen', 'Svalbard (Norway)', [78.223172, 15.626723]), ('Mariehamn', 'Aland Islands (Finland)', [60.097094, 19.934834]), ('Nuuk', 'Greenland (Denmark)', [64.181410, -51.694138]), ('Olonkinbyen', 'Jan Mayen (Norway)', [70.922056, -8.715052]), ('Oslo', 'Norway', [59.913869, 10.752245]), ('Reykjavik', 'Iceland', [64.126521, -21.817439]), ('Stockholm', 'Sweden', [59.329323, 18.068581]), ('Torshavn', 'Faroe Islands (Denmark)', [62.007864, -6.790982]), ('Berlin', 'Germany', [52.520007, 13.404954]), ('Bratislava', 'Slovakia', [48.148596, 17.107748]), ('Budapest', 'Hungary', [47.497912, 19.040235]), ('Prague', 'Czech Republic', [50.075538, 14.437800]), ('Vaduz', 'Liechtenstein', [47.141030, 9.520928]), ('Warsaw', 'Poland', [52.229676, 21.012229]), ('Ankara', 'Turkey', [39.933363, 32.859742]), ('Athens', 'Greece', [37.983810, 23.727539]), ('Belgrade', 'Serbia', [44.786568, 20.448922]), ('Bucharest', 'Romania', [44.426767, 26.102538]), ('Gibraltar', 'Gibraltar (UK)', [36.140751, -5.353585]), ('Lisbon', 'Portugal',[38.722252, -9.139337]), ('Madrid', 'Spain', [40.416775, -3.703790]), ('Monaco', 'Monaco', [43.738418, 7.424616]), ('Nicosia', 'Cyprus', [35.185566, 33.382276]), ('North Nicosia', 'Northern Cyprus', [35.192527, 33.359837]), ('Podgorica', 'Montenegro', [42.430420, 19.259364]), ('Pristina', 'Kosovo', [42.662914, 21.165503]), ('Rome', 'Italy', [41.902783, 12.496366]), ('San Marino', 'San Marino', [43.942360, 12.457777]), ('Sarajevo', 'Bosnia and Herzegovina', [43.856259, 18.413076]), ('Skopje', 'Macedonia', [41.997346, 21.427996]), ('Sofia', 'Bulgaria', [42.697708, 23.321868]), ('Tirana', 'Albania', [41.327546, 19.818698]), ('Velletta', 'Malta', [35.898908, 14.514553]), ('Vatican City', 'Vatican City', [41.902916, 12.453389]), ('Zagreb', 'Croatia', [45.815011, 15.981919]), ('Astana', 'Kazakhstan', [51.160523, 71.470356]), ('Baku', 'Azerbaijan', [40.409262, 49.867092]), ('Chișinău', 'Moldova', [47.010453, 28.863810]), ('Kiev', 'Ukraine', [50.450100, 30.523400]), ('Minsk', 'Belarus', [53.904540, 27.561524]), ('Moscow', 'Russia', [55.755826, 37.617300]), ('Riga', 'Latvia', [56.949649, 24.105186]), ('Stepanakert', 'Nagorno-Karabakh', [39.826528, 46.765575]), ('Sukhumi', 'Abkhazia', [43.001525, 41.023415]), ('Talinn', 'Estonia', [59.436961, 24.753575]), ('Tbilisi', 'Georgia', [41.715138, 44.827096]), ('Tiraspol', 'Transnistria', [46.848185, 29.596805]), ('Tskhinvall', 'South Ossetia', [42.221460, 43.964405]), ('Vilnus', 'Lithuania', [54.687156, 25.279651]), ('Yerevan', 'Armenia', [40.179186, 44.499103]) ] map_el = folium.Map(location=locations[0][2], zoom_start=5) for capital, country, coords in locations[1:]: m = folium.Marker(coords, popup=' is the capital of '.join([capital, country])) m.add_to(map_el) map_el.save('output_file.html')

You can see the result here.