1dictionary = { "key1" : 1, "name" : "Jordan", "age" : 21 }
2for key in dictionary.keys():
3 print("the key is {} and the value is {}".format(key, dictionary[key]))
4 # or print("the key is",key,"and the value is",dictionary[key])
5# OUTPOUT
6# the key is key1 and the value is 1
7# the key is name and the value is Jordan
8# the key is age and the value is 21