kyu_6.encrypt_this package¶
Submodules¶
kyu_6.encrypt_this.solution module¶
-
kyu_6.encrypt_this.solution.
encrypt_this
(text: str) → str[source]¶ - Encrypts each word in the message using the following rules:
The first letter needs to be converted to its ASCII code.
The second letter needs to be switched with the last letter
Keepin’ it simple: There are no special characters in input.
- Parameters
text – a string containing space separated words
- Returns
secret messages which can be deciphered by the “Decipher this!” kata