Exchange longest() with max([list], key=len)