Spam Detector

text = input ( "Enter the text \n " ) if ( "make of lot of money" in text): spam = True elif ( "buy now" in text): spam = True elif ( "click this" in text): spam = True elif ( "subscribe now" in text): spam = True spam= False if (spam): print ( "This text is spam" ) else : print ( "This text is not a spam" )