Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- removed_word = input().split(", ")
- txt = input()
- txt = [txt.replace(word, '*'*len(word)) for word in removed_word]
- print(txt[0])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement