From c18ef94aca3f438b0d66289bde3d4bfbdd57bcda Mon Sep 17 00:00:00 2001 From: Juan Nunez Date: Sun, 21 Jun 2020 12:52:16 -0500 Subject: [PATCH] =?UTF-8?q?Message=20Decoded=20Juan=20Nu=C3=B1ez=20C4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 3f1ef43..8f15dae 100644 --- a/src/main.py +++ b/src/main.py @@ -1,8 +1,14 @@ # Resolve the problem!! - +import re def run(): # Start coding here + with open('encoded.txt', 'r', encoding='utf-8') as f: + + text2decode= f.readline() + azchar= re.findall('[a-z]',text2decode) + decodedText = ''.join(azchar) + print('Hidden message is: ' + decodedText) if __name__ == '__main__':