ARTICLE AD BOX
how do i call on a specific key from a list of dictionaries in python ? let's say, i want to print out 280m which is located in dictionary A under name: Tailor swift. How d i print that out singly ?
A = [ {"name": "Ronaldo", "followers": "670M"}, {"name": "Twitter", "followers": "1.2M"}, {"name": "Kylie Jenner", "followers": "391M"}, {"name": "Taylor Swift", "followers": "280M"}, {"name": "Nike", "followers": "298M"}, {"name": "Selena Gomez", "followers": "415M"} ] B = [ {"name": "Messi", "followers": "511M"}, {"name": "Facebook", "followers": "6.8M"}, {"name": "Beyonce", "followers": "308M"}, {"name": "MrBeast", "followers": "84M"}, {"name": "Real Madrid", "followers": "180M"}, {"name": "Shopify", "followers": "2.1M"}