What is Dictionary in Python with examples?
Dictionary A dictionary is a mixed collection of elements. Unlike other collection data types such as a list or tuple, the dictionary type stores a key along with its element. It also a mutable data type. .The keys in a Python dictionary are separated by a colon ( : ) while the commas work as…