def censor (text, word):
new_str = text.split("")
for i in text: new_str = new_str.replace(i, "*") final = " ".join(new_str) return final After, little research I managed to think like this, but it still generating an error of :Oops, try again. Your code looks a bit off--it threw a "empty separator" error. Check the Hint if you need help!...
Can anyone Please help?. and also I also want to know basics of spilt() and join() function.