X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=cipher.py;h=a09c3438a64728e32bdc625bff8af847f18d2df7;hb=91d1c4d452a85d7a303513b2a758d32ac502c92c;hp=4ec333f2f68c1cbd511535904be9b805736d1b3d;hpb=3675c92553a14ec3ff2f356c768e0b74290f9768;p=cipher-training.git diff --git a/cipher.py b/cipher.py index 4ec333f..a09c343 100644 --- a/cipher.py +++ b/cipher.py @@ -170,6 +170,8 @@ def caesar_decipher(message, shift): 'abc' >>> caesar_decipher('cd ez ab', 2) 'ab cx yz' + >>> caesar_decipher('Jgnnq Yqtnf!', 2) + 'Hello World!' """ return caesar_encipher(message, -shift)