censor: takes in two string arguments (fırst argument is the message, second argument is the word that should be censored); returns the message with the specified word censored, using the * symbol for...


Implement the following function:


Code should be written in python.


censor: takes in two string arguments (fırst argument is the message, second argument is the<br>word that should be censored); returns the message with the specified word censored, using<br>the * symbol for each character in the censored word.<br>o Example: censor(

Extracted text: censor: takes in two string arguments (fırst argument is the message, second argument is the word that should be censored); returns the message with the specified word censored, using the * symbol for each character in the censored word. o Example: censor("apple orange banana orange apple", "orange") should return 'apple ****** ****** banana apple'

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here