Relative Content

Tag Archive for pythonlistpython-itertools

How can i compare each list in a list of lists and compare one of the last elements of the preceding list with first element of next list?

lists = [[‘1. what is your name’,’alice’,’what is your age’,’98’], [‘2. how old are you’,’24’,’city of birth’,’washington 3. None what is your fav subject?’], [‘3. what is your fav subject? please choose from maths, english, science’,’maths’,’school’,’elemetary oak’] ] i have the above list of lists, i would like to remove ‘3. None what is your […]