publicMasters/python/2/2Rot13.py

12 lines
183 B
Python
Raw Normal View History

#! /usr/bin/python3
# -*- coding: utf-8 -*-
message="secretfrperg"
for element in message:
n=ord(element)-97
m=(n+13)%26
rot=chr(m+97)
print(rot,end='')
print("\n")