diff options
Diffstat (limited to 'progs/a491.py')
| -rw-r--r-- | progs/a491.py | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/progs/a491.py b/progs/a491.py new file mode 100644 index 0000000..d4be952 --- /dev/null +++ b/progs/a491.py @@ -0,0 +1,7 @@ +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	
\ No newline at end of file | 
