d = {'key1': {'nestkey': {'subnestkey': 'value'}}} print(d['key1']['nestkey']['subnestkey']) # Saída: 'value'