creating dictionaryto create the python dictionarywe need to pass the sequence of the items inside curly braces {}and to separate them using comma (,each item has key and value expressed as an "key:valuepair the values can belong to the any of data type and they can repeatbut the keys are must remain the unique the following examples are demonstrate how to create the python dictionariescreating an empty dictionarydict_sample {creating dictionary with integer keysdict_sample { 'mango' 'pawpaw'creating dictionary with mixed keysdict_sample {'fruit''mango' [ ]we can also create dictionary by explicitly calling the python' dict(methoddict_sample dict({ :'mango' :'pawpaw'} dictionary can also be created from sequence as shown belowdictionaries can also be nestedwhich means that we can create dictionary inside another dictionary for exampledict_sample { {'student 'nicholas''student 'john''student 'mercy'} {'course 'computer science''course 'mathematics''course 'accounting'}to print the dictionary contentswe can use the python' print(function and pass the dictionary name as the argument to the function for exampledict_sample "company""toyota""model""premio""year" print(dict_sampleoutput{'company''toyota''model''premio''year'