def decode(self, ciphertext):
        "Return the shift decoding of text with the best score."
        all_shifts = [shift_encode(ciphertext, n) for n in range(len(alphabet))]
        return argmax(all_shifts, self.score)
Return the shift decoding of text with the best score.
recipes/Python/442000_Decoding_Shift_or_Rotatior_Caesar_Cipher_or/recipe-442000.py