code: def replace_fact(term, fact, author=''):
      
      forget_fact(term)
      add_fact(term, fact, author)
      return random.choice(ACKS)
docs: Replaces an existing fact by removing it, then adding the new definition