human
flatten list inside list.
assistant
Here is a Python function to flatten list inside list

import numpy as np

def flatten_list(list_of_list):
    """
    Flatten list inside list.
    """
    return [item for sublist in list_of_list for item in sublist]

# Enter the data
x = [[1, 2, 3], [4, 5, 6]]
y = [[1, 2, 3], [4, 5, 6]]

# Calling the function
print((flatten_list(x)))
print((flatten_list(y)))

#Example Output
# [1, 2, 3, 4, 5, 6]
# [1, 2, 3, 4, 5, 6]

#Remember to inspect code for bugs.