1a_dict = {'color': 'blue', 'fruit': 'apple', 'pet': 'dog'}
2for key, value in a_dict.items():
3 print(key, '->', value)
1dictionary_name={"Name": "John", "Age": 29, "salary":25000,"Company":"GOOGLE"}
2for key in dictionary_name.keys():
3 print(key)