10 lines
132 B
Python
10 lines
132 B
Python
import codecs
|
|
|
|
|
|
def rot13(string):
|
|
print(codecs.encode(string, 'rot_13'))
|
|
|
|
|
|
x = input('Enter the string to encrypt: ')
|
|
rot13(x)
|