(string)
| 24 | nletters = shift(letters, key) |
| 25 | |
| 26 | def cipher_word(string): |
| 27 | msg = [] |
| 28 | |
| 29 | for i in string: |
| 30 | index = letters.index(i) |
| 31 | i = nletters[index] |
| 32 | msg.append(i) |
| 33 | |
| 34 | return "".join(msg) |
| 35 | |
| 36 | sentence = string.split(" ") |
| 37 | nsentence = list(map(cipher_word, sentence)) |
nothing calls this directly
no outgoing calls
no test coverage detected