Iterate over the elements, access the key "X" and append it to a new list.
https://docs.python.org/3/tutorial/datas...ctionaries
PS: L is a bad name.
results = [] for element in L: ... # this is your taskhttps://docs.python.org/3/tutorial/datas...e-on-lists
https://docs.python.org/3/tutorial/datas...ctionaries
PS: L is a bad name.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!