python dictionary print only values code example Example: how to get all the values from the dict in python a = {1:2 , 2:3 , 3:4} values = a.values()