rot13.py

This portion of the code works as desired. You could wrap this in a function of your own definition you'd be 90% of the way to successfully completing the assignment.