diff options
Diffstat (limited to 'progs/a291.py')
-rw-r--r-- | progs/a291.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a291.py b/progs/a291.py new file mode 100644 index 0000000..9bc037f --- /dev/null +++ b/progs/a291.py @@ -0,0 +1,3 @@ +import re
+def remove_spaces(text):
+ return (re.sub(' +',' ',text))
\ No newline at end of file |