import re
input_info_list = [['corre', 'salta', 'dibuja'], ['en el bosque', 'en el patio'], ['2023-02-05 00:00 am', '2022-12-29 12:33 am _--_ 2023-01-25 19:13 pm']]
print(reordered_input_indo_list) # --> output new list
I want to create a list that separates all possible combinations of the elements in the input_info_list
list into separate lists inside a new list.
This should be the list you should get:
[[['corre'], ['en el bosque'], ['2023-02-05 00:00 am']]
[['corre'], ['en el patio'], ['2023-02-05 00:00 am']],
[['corre'], ['en el bosque'], ['2022-12-29 12:33 am _--_ 2023-01-25 19:13 pm']],
[['corre'], ['en el patio'], ['2022-12-29 12:33 am _--_ 2023-01-25 19:13 pm']],
[['salta'], ['en el bosque'], ['2023-02-05 00:00 am']],
[['salta'], ['en el patio'], ['2023-02-05 00:00 am']],
[['salta'], ['en el bosque'], ['2022-12-29 12:33 am _--_ 2023-01-25 19:13 pm']],
[['salta'], ['en el patio'], ['2022-12-29 12:33 am _--_ 2023-01-25 19:13 pm']],
[['dibuja'], ['en el bosque'], ['2023-02-05 00:00 am']],
[['dibuja'], ['en el patio'], ['2023-02-05 00:00 am']],
[['dibuja'], ['en el bosque'], ['2022-12-29 12:33 am _--_ 2023-01-25 19:13 pm']],
[['dibuja'], ['en el patio'], ['2022-12-29 12:33 am _--_ 2023-01-25 19:13 pm']]]