how to print n largest element from list code example Example: find the largest size in a list - python longest_string = len(max(a_list, key=len))