projects
/
cipher-training.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merging back into solutions
[cipher-training.git]
/
cipher.py
diff --git
a/cipher.py
b/cipher.py
index d284afe94e0534b3e11fe6f819fc81d5fe6061db..d2438b720693c6abc231b827fe26a8d5ce52dddf 100644
(file)
--- a/
cipher.py
+++ b/
cipher.py
@@
-62,7
+62,6
@@
def chunks(text, n, fillvalue=None):
padding = ''
return [(text+padding)[i:i+n] for i in range(0, len(text), n)]
-
def deduplicate(text):
"""If a string contains duplicate letters, remove all but the first. Retain
the order of the letters.