diff --git a/src/main.py b/src/main.py index 3f1ef43..2b946fd 100644 --- a/src/main.py +++ b/src/main.py @@ -1,9 +1,17 @@ -# Resolve the problem!! +# Resolve the problem! +import re + def run(): # Start coding here + patron = re.compile('[a-z]') + with open('encoded.txt','r',encoding='utf-8') as file: + mensaje_codifcado = file.read() + mensaje_descodificado = ''.join(patron.findall(mensaje_codifcado)) + file.close() + print(mensaje_descodificado) -if __name__ == '__main__': - run() +if __name__ == "__main__": + run() \ No newline at end of file