def func(list): return[*map(len, list)] list = ['enjoy','bad','fill','encyclopedia'] print("Original String") print(list) print("length of the sting in a list") print(func(list))