diff options
Diffstat (limited to 'progs/a813.py')
-rw-r--r-- | progs/a813.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a813.py b/progs/a813.py new file mode 100644 index 0000000..67d4eec --- /dev/null +++ b/progs/a813.py @@ -0,0 +1,3 @@ +def extract_string(str, l):
+ result = [e for e in str if len(e) == l]
+ return result
\ No newline at end of file |