diff --git "a/Retos/Reto #15 - AUREBESH [F\303\241cil]/python/marcoatrs.py" "b/Retos/Reto #15 - AUREBESH [F\303\241cil]/python/marcoatrs.py" new file mode 100644 index 0000000000..832f21a8fd --- /dev/null +++ "b/Retos/Reto #15 - AUREBESH [F\303\241cil]/python/marcoatrs.py" @@ -0,0 +1,38 @@ +aurebesh = { + "a": "aurek", + "b": "besh", + "c": "cresh", + "d": "dorn", + "e": "esk", + "f": "forn", + "g": "grek", + "h": "herf", + "i": "isk", + "j": "jenth", + "k": "krill", + "l": "leth", + "m": "mern", + "n": "nern", + "o": "osk", + "p": "peth", + "q": "qek", + "r": "resh", + "s": "senth", + "t": "trill", + "u": "usk", + "v": "vev", + "w": "wesk", + "x": "xesh", + "y": "yirt", + "z": "zerek" +} + + +def spanish2aurebesh(text: str): + aurebesh_chars = [] + for t in text: + aurebesh_chars.append(aurebesh.get(t, t)) + return "".join(aurebesh_chars) + + +print(spanish2aurebesh("Hola que tal"))