We have defined a 3D, 3x2x4 numpy array. We defined the indexes of this array as floor, apartment and room. Then, with filtering, we extracted the apartment numbers according to the magnets in the kitchens of the apartments in this building.
In this code, with the Numpy library and multidimensional arrays have been worked.
Jupyter Notebook and Python files are available.