a_dictionary = {"1": A, "2": B} for value in a_dictionary.values(): print (value) code example
Example 1: howe to print all values and keysin d
for i in d:
print d.keys(i), d.values(i)
Example 2: howe to print all values and keysin d
for i in d:
print i, d[i]