diff --git a/src/main.py b/src/main.py index 3f1ef43..bebf73c 100644 --- a/src/main.py +++ b/src/main.py @@ -1,9 +1,19 @@ -# Resolve the problem!! - +import re def run(): - # Start coding here - + message = '' + pattern = re.compile(r'([a-z\s?])') + f = open('encoded.txt', 'r', encoding='utf-8') + for line in f: + match = re.findall(pattern, line) + if match != "": + print(message.join(match)) + else: + print('No encontro nada') + f.close() if __name__ == '__main__': run() + + +