File size: 160 Bytes
6c62356 | 1 2 3 4 5 6 7 8 |
def long_words(n, str):
word_len = []
txt = str.split(" ")
for x in txt:
if len(x) > n:
word_len.append(x)
return word_len |
6c62356 | 1 2 3 4 5 6 7 8 |
def long_words(n, str):
word_len = []
txt = str.split(" ")
for x in txt:
if len(x) > n:
word_len.append(x)
return word_len |