longest strings from list,longest_strings = [s for s in stringlist if len(s) == maxlength]