input: 
  def isAffirmativeorNegative(sentence: str) -> str:
      """ Determine if a given sentence is 'Affirmative' or 'Negative' by checking for 
      the presence of negation words in the sentence.
      >>> isAffirmativeorNegative("He always comes late but I dont mind.")
      Negative
      >>> isAffirmativeorNegative("She is always punctual.")
      Affirmative
      """
      import re 
      import nltk
      nltk.download('stopwords')
      from nltk.corpus import stopwords 
  
      # Function to find the negation words
      def findNegation(sentence):
          # save all the negation words
          negationwords = {'not', 'never', 'no', 'none', 'non', 'neither',
                           'nobody', 'nowhere', 'cannot', 'couldnt', 'shouldnt', 
                           'wouldnt', 'dont', 'didnt', 'hasnt', 'havent', 'isnt', 'arent'} 
          words = nltk.word_tokenize(sentence)
          neg = []
          for word in words:
              if word in negationwords:
                  neg.append(word)
          return neg
  
      negationwords = findNegation(sentence)
      if len(negationwords) == 0: 
          return "Affirmative" 
      else: 
          return "Negative"
  
output:     import re 
      import nltk
      nltk.download('stopwords')
      from nltk.corpus import stopwords 
  
      # Function to find the negation words
      def findNegation(sentence):
          # save all the negation words
          negationwords = {'not', 'never', 'no', 'none', 'non', 'neither',
                           'nobody', 'nowhere', 'cannot', 'couldnt', 'shouldnt', 
                           'wouldnt', 'dont', 'didnt', 'hasnt', 'havent', 'isnt', 'arent'} 
          words = nltk.word_tokenize(sentence)
          neg = []
          for word in words:
              if word in negationwords:
                  neg.append(word)
          return neg
  
      negationwords = findNegation(sentence)
      if len(negationwords) == 0: 
          return "Affirmative" 
      else: 
          return "Negative"