►
Run
#initialize dictionary myDictionary = { 'tallest building':'Burj Khalifa', 'longest river':'The Nile', 'biggest ocean':'The Pacific Ocean' } # get values as list values = [*myDictionary.values()] #print the list print(values)
Output