get keys and value for python code example Example: python get dictionary keys d = {2:"hello"} d.values()