python double dict key code example Example: dictionary with double key python mydict = {} mydict['key1','key2'] = 'myvalue'