Share your repls and programming experiences

← Back to all posts
Python: Censor function
pole55 (196)

A function that takes two strings, text and word, as input, and returns the text with the word you chose replaced with asterisks.