display keys in a dictionary python

34

for key, value in mydic.items() :
    print (key, value)

Comments

Submit
0 Comments