Write a function called censor


Problem:

Question- Write a function called censor. The function is passed a string as a parameter, which consists of words separated by blanks and/or punctuation marks, newlines, etc. censor returns a string in which any 4-letter words are replaced with 'XXXX'. Also, all punctuation marks, etc. are removed, and each word in the return string is separated from the next by a single blank.

Please write the program with the help of function called censor.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a function called censor
Reference No:- TGS0893399

Expected delivery within 24 Hours