summaryrefslogtreecommitdiff
path: root/progs/a653.py
blob: c55301045c99fb7dfd82cbdc0917e746aa2e163e (plain)
1
2
3
4
def max_length(list1):
    max_length = max(len(x) for x in  list1 )  
    max_list = max((x) for x in   list1)
    return(max_length, max_list)