max value within a list of lists of tuple,"output.append(max(flatlist, key=lambda x: x[1]))"