how to take dict values into list in python code example Example: dict get list of values list(d.values())