ruffyen

Untitled

Oct 4th, 2011
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. phrase = raw_input('Text: ')
  2.  
  3. for x in phrase:
  4.     if x == ' ':
  5.         print x,
  6.     else:
  7.         conv = ord(x)
  8.         conv += 2
  9.         print chr(conv),
  10.  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment