I'm not sure what I need to do here. I have a list which contains sublists:
my_list = [
[string_0, string2, [int1, int2], [int3, float1]],
[string_01, string2_2, [int1_1, int2_2], [int3_3, float1_1]]
]
which goes on like this for a bit.
How do I get certain parts from my_list to create a new list containing certain items from my_list? For example:
new_list = [string_01, string2, int1, float1_1]
So far I was trying to use a list comprehension but I couldn't get it to work because I only got it to print one sublist (ie: string_0, string2, [int1, int2], [int3, float1]) and not specific parts.