def leet_from_str(s: str) -> str:
"""Converts a word or setnence to leet.
:param s: An average string.
:return: The contents of the string, converted to leet.
"""
leet_alphabet = [
"4",
"8",
"(",
"C-",
"3",
"|",
"C-",
"#",
"1",
"]",
"|<",
"|_",
"[V]",
"/V",
"0",
"|7",
"9",
"|2",
"5",
"7",
"|_|",
"\\/",
"\\N",
"><",
"'/",
"2"]
s = s.lower()
toret = ""
ord_a = ord('a')
ord_z = ord('z')
for ch in s:
ord_ch = ord(ch)
if (ord_ch >= ord_a
and ord_ch <= ord_z):
toret += leet_alphabet[ord_ch - ord_a]
else:
toret += ch
...
...
return toret
print(leet_from_str("Baltasar"))
ZGVmIGxlZXRfZnJvbV9zdHIoczogc3RyKSAtPiBzdHI6CgkiIiJDb252ZXJ0cyBhIHdvcmQgb3Igc2V0bmVuY2UgdG8gbGVldC4KCQk6cGFyYW0gczogQW4gYXZlcmFnZSBzdHJpbmcuCgkJOnJldHVybjogVGhlIGNvbnRlbnRzIG9mIHRoZSBzdHJpbmcsIGNvbnZlcnRlZCB0byBsZWV0LgoJIiIiCgkKCWxlZXRfYWxwaGFiZXQgPSBbCgkJIjQiLAoJCSI4IiwKCQkiKCIsCgkJIkMtIiwKCQkiMyIsCgkJInwiLAoJCSJDLSIsCgkJIiMiLAoJCSIxIiwKCQkiXSIsCgkJInw8IiwKCQkifF8iLAoJCSJbVl0iLAoJCSIvViIsCgkJIjAiLAoJCSJ8NyIsCgkJIjkiLAoJCSJ8MiIsCgkJIjUiLAoJCSI3IiwKCQkifF98IiwKCQkiXFwvIiwKCQkiXFxOIiwKCQkiPjwiLAoJCSInLyIsCgkJIjIiXQoKCglzID0gcy5sb3dlcigpCgl0b3JldCA9ICIiCglvcmRfYSA9IG9yZCgnYScpCglvcmRfeiA9IG9yZCgneicpCgkKCWZvciBjaCBpbiBzOgoJCW9yZF9jaCA9IG9yZChjaCkKCQkKCQlpZiAob3JkX2NoID49IG9yZF9hCgkJYW5kIG9yZF9jaCA8PSBvcmRfeik6CgkJCXRvcmV0ICs9IGxlZXRfYWxwaGFiZXRbb3JkX2NoIC0gb3JkX2FdCgkJZWxzZToKCQkJdG9yZXQgKz0gY2gKCQkuLi4KCS4uLgoJCglyZXR1cm4gdG9yZXQKCgpwcmludChsZWV0X2Zyb21fc3RyKCJCYWx0YXNhciIpKQ==