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