Human: Python program to return list to dictionary. Assistant: 
Here is a Python program to return list to dictionary

import math

def list_to_dict(list_of_list):
        """
        Converts a list of lists into a dictionary.

        Parameters
        ----------
        list_of_list: list
            The list of lists to be converted into a dictionary.

        Returns
        -------
        dict
            The dictionary of lists.

        """
        dict_of_list = {}
        for i in range(len(list_of_list)):
            dict_of_list[i] = list_of_list[i]
        return dict_of_list

# Enter the list of lists
list_of_list = [[1, 2, 3], [4, 5, 6]]

# Calling the function
print((list_to_dict(list_of_list)))

#Example Output
# {0: [1, 2, 3], 1: [4, 5, 6]}

#Remember to inspect code for bugs.