Код: Выделить всё
def count_word_length(s):
s_c = s.split(s)
Length = []
for i in range(len(s_c))
Length.append(len(s_c[i]))
Return length
Подробнее здесь: https://stackoverflow.com/questions/793 ... n-a-string
Код: Выделить всё
def count_word_length(s):
s_c = s.split(s)
Length = []
for i in range(len(s_c))
Length.append(len(s_c[i]))
Return length