get values of a dictionary in a list python code example Example: list of dict values list(d.values())