Skip to content
Advertisement

Convert list of dictionaries with different keys to values string list

Example list of dicts:

JavaScript

Expected out = ['aly', '104', 'Not A name', '99']

Any help will be much appreciated.

Thanks!

Advertisement

Answer

Try this in one line:

JavaScript

The result will be:

JavaScript
Advertisement