Несколько способов создания вложенных словарей в Python:
dict = { 'Dict1': {}, 'Dict2': { }}
. 1works_of_art = dict(The_Starry_Night={'author': 'Van Gogh', 'year': 1889, 'style': 'post-impressionist'}, The_Birth_of_Venus={'author': 'Sandro Botticelli', 'year': 1480, 'style': 'renaissance'}, Guernica={'author': 'Pablo Picasso', 'year': 1937, 'style': 'cubist'}, American_Gothic={'author': 'Grant Wood', 'year': 1930, 'style': 'regionalism'}, The_Kiss={'author': 'Gustav Klimt', 'year': 1908, 'style': 'art nouveau'})
. 4students_ages = dict([('Amanda', 27), ('Teresa', 38), ('Paula', 17), ('Mario', 40)])
. 4