Run
myDict = {'a': 'apple', 'b': 'banana', 'c': 'cherry'} valuesList = [myDict[key] for key in myDict] print(valuesList)
Output