Advertisement
acgtyrant

Untitled

Nov 29th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. def buildCoder(shift):
  2.     """
  3.    Returns a dict that can apply a Caesar cipher to a letter.
  4.    The cipher is defined by the shift value. Ignores non-letter characters
  5.    like punctuation, numbers and spaces.
  6.  
  7.    shift: 0 <= int < 26
  8.    returns: dict
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement