summaryrefslogtreecommitdiff
path: root/rot13.py
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2023-12-18 00:02:09 +0100
committerjerome <jerome@xlinfo.fr>2023-12-18 00:02:09 +0100
commita1203ccb343703ba5ae522254f75b6384a1831a7 (patch)
treec54e1e6cf0da29170419b2fd9880ff6dcea28742 /rot13.py
downloadpython-a1203ccb343703ba5ae522254f75b6384a1831a7.tar.gz
python-a1203ccb343703ba5ae522254f75b6384a1831a7.zip
depĂ´t initial
Diffstat (limited to 'rot13.py')
-rw-r--r--rot13.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rot13.py b/rot13.py
new file mode 100644
index 0000000..f2d97b5
--- /dev/null
+++ b/rot13.py
@@ -0,0 +1,4 @@
+#!/usr/bin/env python3
+import codecs
+message = input()
+print(codecs.encode(message,'rot_13'))