title: python identify user input positive or negative
body: <p>I wrote a python code where it will take user input and convert it into uppercase to match my positive list and negative list. but it is not considering the negative list properly. I must be wrong on giving a conditional statement it seems. I tried two codes but not working. also, I tried to sum up how many positive feedbacks and negative feedbacks using <code>len(words)</code> but no working at all.</p>
  
  <pre><code> - **code1:**
  
  keyword_list = ['GOOD', 'ADMIRE', 'SUPER', 'BEST', "INCREDIBLE", 'NOT BAD', 'NOT SO BAD', 'KEEP IT UP']
  print("Enter your feedback")
  user_review = input().upper()
  if set(keyword_list).intersection(user_review.split()):
    print ("POSTIVE FEEDBACK")
  else:
    print("NEGATIVE FEEDBACK")
  
  
  - **code2:**
  
  negative_words = ['BAD', 'TERRIBLE','NOT GOOD']
  positive_words = ['GOOD', 'ADMIRE', 'SUPER', 'BEST', "INCREDIBLE"]
  print("Enter your honest review")
  user_review = input().upper()
  for review in user_review:
      # split the tweet into words:
      words = review.split()
  
  if set(positive_words).intersection(user_review.split()):
    print ("POSTIVE REVIEW")
  elif set(negative_words).intersection(user_review.split()):
    print ("NEGATIVE REVIEW")
  else:
    print("MODERATE REVIEW")
  </code></pre>