From ca319994ca0070a892a024119593e40768c2b2d7 Mon Sep 17 00:00:00 2001 From: Stanislav Mykhailenko Date: Thu, 27 Oct 2022 18:38:13 +0300 Subject: [PATCH] Add Lesson 2 Task %*f#ncA0#>? --- Lesson_2/We know/dumb_decryptor.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Lesson_2/We know/dumb_decryptor.py diff --git a/Lesson_2/We know/dumb_decryptor.py b/Lesson_2/We know/dumb_decryptor.py new file mode 100644 index 0000000..9ca2e56 --- /dev/null +++ b/Lesson_2/We know/dumb_decryptor.py @@ -0,0 +1,10 @@ +# Lesson 2 Task %*f#ncA0#>?: ROT13 encryption +# Author: Stanislav Mykhailenko +# License: Unlicense + +# Return codes: +# 0 - OK + +import codecs + +print(codecs.encode(input("Enter message: "), "rot13"))