Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #stolenTwistUp.py
- from random import randint
- def twistUp(s):
- new_s = ''
- for x in s:
- new_s += x
- if x.isalpha():
- new_s += chr(0x0300 + randint(0, 0x6F))
- return new_s
- print twistUp("THEQUICKBROWNFOXJUMPEDOVERTHELAZYDOG")
- print twistUp("thequickbrownfoxjumpedoverthelazydog")
Add Comment
Please, Sign In to add comment