how to print dic keys in pytohn code example Example: print key of dictionary python for key, value in mydic.items() : print (key, value)