Skip to content
Advertisement

Is there a way to track badwords in variable in input in python

I want to track badwords like english badwords

and i don’t want to use:

JavaScript

because it is lengthy and i also don’t want to include

the badword in the code directly

what i tried

JavaScript

But that doesn’t work! Can anyone help?

Thanx in advance

Advertisement

Answer

Yeah there’s a way to do it.

Code:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement