You have been recruited by an unknown organization for your cipher encrypting/decrypting skills.  
Being new to the organization they decide to test your skills.  
Your first test is to write an algorithm that encrypts the given string in the following steps.

1. The first step of the encryption is a standard ROT13 cipher.
This is a special case of the caesar cipher where the letter is encrypted with its key that is thirteen letters down the alphabet,  
i.e. `A => N, B => O, C => P, etc..`

1. Part two of the encryption is to take the ROT13 output and replace each letter with its exact opposite. `A => Z, B => Y, C => X`.  
The return value of this should be the encrypted message.


Do not worry about capitalization or punctuation. All encrypted messages should be lower case and punctuation free.  
As an example, the string `"welcome to our organization"` should return `"qibkyai ty ysv yvgmzenmteyz"`.

Good luck, and congratulations on the new position.

Difficulty: introductory

Starter code:

def encrypter(strng):
	

Solutions:
def encrypter(strng):
    return ''.join( c if c==' ' else chr(122 - ((ord(c)-97)+13) % 26) for c in strng )

from string import ascii_lowercase as abc

def encrypter(strng):
    return strng.translate(str.maketrans(abc[::-1], abc[13:] + abc[:13]))

def encrypter(strng):
    z={0:'m',1:'l',2:'k',3:'j',4:'i',5:'h',6:'g',7:'f',8:'e',9:'d',10:'c',11:'b',12:'a',13:'z',14:'y',15:'x',16:'w',17:'v',18:'u',19:'t',20:'s',21:'r',22:'q',23:'p',24:'o',25:'n'}
    pt=''
    for i in strng:
        if ord(i)>=ord('a') and ord(i)<=ord('z'):
            pt+=z[ord(i)-ord('a')]
        else:
            pt=pt+i
    return pt#your code here

from string import ascii_lowercase as al

tbl1 = str.maketrans(al, al[13:] + al[:13])
tbl2 = str.maketrans(al, al[::-1])

def encrypter(strng):
    return strng.translate(tbl1).translate(tbl2)

from codecs import encode
from string import ascii_lowercase as az

OPPOSITES = dict(zip(az, reversed(az)))


def encrypter(strng):
    return ''.join(OPPOSITES.get(a, a) for a in encode(strng, 'rot13'))

encrypter=lambda s: "".join(["mlkjihgfedcbazyxwvutsrqpon"["abcdefghijklmnopqrstuvwxyz".index(a)] if a in "abcdefghijklmnopqrstuvwxyz" else a for a in s])

encrypter=lambda s,a=list(range(97,123)):s.translate(dict(zip(a[::-1],a[13:]+a[:13])))