projects
/
cipher-training.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added another test case
[cipher-training.git]
/
cipher.py
diff --git
a/cipher.py
b/cipher.py
index 4ec333f2f68c1cbd511535904be9b805736d1b3d..a09c3438a64728e32bdc625bff8af847f18d2df7 100644
(file)
--- 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)