I have the current list
[['A', 'B', 'C'],
['A', 'B', 'D'],
['A', 'B', 'C', 'D'],
['A', 'C', 'D'],
['B', 'C', 'D']]
I want to delete the list ['A', 'B', 'C', 'D']. Is there any way to do this by checking inside the list and removing the list if it has more than 3 elements? Thanks
I know I could iterate over the whole list, and add the elements where the lenght is 3. But I don't think it is very efficient