how to print keys and values of dictionary together in python? code example Example: how to print keys and values of dictionary together in python? for i in d: print i, d[i]