kyu_6.decipher_this package¶
Submodules¶
kyu_6.decipher_this.solution module¶
-
kyu_6.decipher_this.solution.
decipher_this
(string: str) → str[source]¶ Given a secret message that you need to decipher.
- For each word:
the second and the last letter is switched (e.g. Hello becomes Holle)
the first letter is replaced by its character code (e.g. H becomes 72)
Note: there are no special characters used, only letters and spaces
- Parameters
string –
- Returns