Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Resolve the problem!!
import re
import os


def run():
# Start coding here

regular_exp = '[a-z]'
ruta_actual = os.getcwd()
print(ruta_actual)
with open('src/encoded.txt', 'r', encoding='utf-8') as f:
resultado = re.findall(regular_exp, f.read())
mensaje_oculto = ''.join(resultado)
print(mensaje_oculto)

if __name__ == '__main__':
run()