Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. def censor(text, word):
  2.     return text.replace(word, '*' * len(word))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement