Ad

You will receive a list with sublists and must return all subslists in a unique flat list.

Example:

input_list = [[1,2,3], [4,5,6], [7,8,9]]

output_list = [1,2,3,4,5,6,7,8,9]
def flat_the_list(item_list):
    return [subitem for item in item_list for subitem in item]