The game chat should stay friendly. Write clean_chat(message) to replace each word in bad_words with *** (however long it was). Messages are all lower case; with no bad words, it comes back as it is.
clean_chat("you noob")→'you ***'clean_chat("gg, nice game")→'gg, nice game'def clean_chat(message):
bad_words = ["noob", "loser"]
for word in bad_words:
# your code here: replace word in message with "***"
pass
return message
Run tries the examples. When they look right, Submit.