L = [('The', 'DT'), ('study', 'NN'), ('guide', 'NN'), ('does', 'VBZ'), ('not', 'VBZ'), ('discuss', 'VBZ'), ('much', 'NN'), ('of', 'IN'), ('the', 'DT'), ('basics', 'NN'), ('of', 'IN'), ('ethics.', 'NN')]
I want to remove the tuples having the tags other than 'NN' and 'DT' I tried the pop method it doesn't work. tried unzipping the two tuples but tuples are immutable. So how do i remove them.