Answers for "how to access dictionary inside an array python"

-1

how to access dictionary inside an array python

list = [{'text': 1, 'b': 2}, {'text': 3, 'd': 4}, {'text': 5, 'f': 6}]
subtitle=[]
for value in list:
   subtitle.append(value['text'])
Posted by: Guest on March-16-2021

Code answers related to "how to access dictionary inside an array python"

Python Answers by Framework

Browse Popular Code Answers by Language