I have a nested list which doesn't split. Like:
list1 = [['New York; 4545; 45; 545; 545'],
['Berlin; 545; 454; 5645'],
['Paris; 5;;; 112']]
My list contains thousands of element like above. I want to reach a specific list. for example the list which contains 'Paris' and create another list from it.
BTW to clarify the problem; there are thousands of entries in the list and I don't know the index of the list which contains paris.
output may like:
list2 = ['Paris', 5, 112]
anyone has a idea?