Header Ads Widget

Responsive Advertisement

Spam Detection


 

text = input("Enter The Text : ")
if("buy now" in text):
    spam= True
elif("subscribe" in text.lower()):
    spam=True
elif("click here" in text.lower()):
    spam=True
elif("make money online" in text.lower()):
    spam=True
else:
    spam=False
if(spam):
    print("This Text Is A Spam")
else:
    print("This Text Is Not A Spam")


Post a Comment

0 Comments