I want to track badwords like english badwords

and i don't want to use:

```
if intext.find('badword') != -1:
   print("That's a badword")

```

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

the badword in the code directly

what i tried

```
#stored the badwords in a variable in a list
a = ['badword1','badword2']
b = input("Enter word")
if b.find(a) != -1:
   print("Bad word")

```

But that doesn't work!
Can anyone help?

Thanx in advance