From 0d83c0128ce35113a0396182a2edab0a34d2f86a Mon Sep 17 00:00:00 2001 From: Juan David Jaramillo Date: Sun, 28 Jun 2020 21:15:35 -0500 Subject: [PATCH] challenge solved --- src/main.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index 3f1ef43..c63fe3f 100644 --- a/src/main.py +++ b/src/main.py @@ -1,8 +1,13 @@ # Resolve the problem!! - +import re def run(): - # Start coding here + with open('src/encoded.txt', 'r', encoding='utf-8') as f: + pattern = re.compile(r'[a-z]') + for line in f: + match = pattern.findall(line) + + print (''.join(match)) if __name__ == '__main__':