print ''.join([chr((L>=65 and L<=122) and (((((L>=97) and (L-96) or 
              (L-64))-1)+13)%26+((L>=97) and 97 or 65)) or L) for L 
              in [ ord(C) for C in 'Uryyb Jbeyq!']])

This code is part of the book "Python for Bioinformatics", by Sebastian Bassi (sbassi@genesdigitales.com). Return to home page.