Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def rot13(phrase):
- phr=""
- counter = 0
- while counter < len(phrase):
- if islettter(phrase[counter]) == True:
- phr+=rot13Chr(phrase[counter])
- counter += 1
- else:
- phr += phrase[counter]
- counter += 1
- return phr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement