Last active
December 18, 2015 03:48
-
-
Save dastanko/5720630 to your computer and use it in GitHub Desktop.
Шаблон Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CesarCipher(object): | |
_alphabet = None | |
_shift = None | |
def set_alphabet(self, value): | |
self._alphabet = value | |
def set_shift(self, value): | |
self._shift = value | |
def encode(self, plainText): | |
# Реализация | |
return encoded_text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment