Условие:
mobile_devices = {
'cucuPhone': 2010,
'cucuBlet': 2013,
'cucuClock': 2015,
'cucuEar': 2018,
'cuCube': 2015,
}
\nhome_devices = {
'cucuLot': 2011,
'cucuBlock': 2010,
'cucuWall': 2010,
'cucuMonitor': 2020,
'cucuLamp': 2015,
'cucuTable': 2016,
'cucuTV': 2017,
}
\nnot_supported_devices = {'cucuBlock', 'cucuBlet', 'cucuWall'}
\nresult_catalog = {}
# Допишите функцию выборки поддерживаемого девайса из словаря\ndef get_supported_catalog(dict_devices, device):
\nall_devices = list(mobile_devices.keys()) + list(home_devices.keys())\nsupported_devices = []
\nfor device in all_devices:
supported_mob_dev = get_supported_catalog(mobile_devices, device)
# Добавьте значение в словарь result_catalog
supported_home_dev = get_supported_catalog(home_devices, device)
# Добавьте значение в словарь result_catalog
\nprint('Каталог поддерживаемых девайсов: ')\nprint(result_catalog)

