def listCount(l):
    """returns len() of each item in a list, as a list."""
    for i in range(len(l)):
        l[i]=len(l[i])
    return l
def listCount(l):
    """returns len() of each item in a list, as a list."""
    for i in range(len(l)):
        l[i]=len(l[i])
    return l
def listCount ( l ) : for i in range ( len ( l ) ) : l [ i ] = len ( l [ i ] ) return l
returns len() of each item in a list, as a list.
returns len () of each item in a list as a list .