tList = [ ['abc', '123'], ['def', '456'] , ['ghi', '789"'] ]for each in tList: if each[0] == 'abc': print(each)