human
Write me a Python code to make a list into a dict.
assistant
Here is a Python code to make a list into a dict

import numpy as np

def make_dict(list_of_list):
        """
        Make a list into dict.

        Args:
            list_of_list (list): list of list

        Returns:
            dict: dict
        """
        return dict(list(zip(list(range(len(list_of_list))), list_of_list)))

# Enter the matrix
matrix = np.array([[1,2,3],[4,5,6],[7,8,9]])

# Calling the function
print((make_dict(matrix)))

#Example Output
# {0: array([1, 2, 3]), 1: array([4, 5, 6]), 2: array([7, 8, 9])}

#Remember to inspect code for bugs.