Micron Technology Interview Question

Python Program to create a sub-dictionary containing all keys from dictionary list