def feedback_calculate(answer, guess):
    """

    In this function I'm handling the guess from the player or computer.

    I'm returning this value as described in the article, Yet another mastermind strategy.
    Its going to be a list with 2 items.
        - The first number refers to the amount of 'pawns' that are in the right position and the right color.
          In this case the its a correct Letter and on the right index.
          If this is the case I change the value in the guess and answer copied list to 'Z' or 'W' for Zwart,
          Dutch for black because the 'B' was already in the combination, and White.

        - The second number refers to the amount of 'pawns' that are just the right color.
          In this case the its a correct Letter.

          If this is the case I change the value in the answers list to a 'T' for taken

    :param answer:
    :param guess:
    :return:

    """

    tmp_answer = answer.copy()
    tmp_guess = guess.copy()

    feedback = [0, 0]

    for i, c in enumerate(tmp_guess):
        if tmp_answer[i] == tmp_guess[i]:
            tmp_answer[i] = 'Z'
            tmp_guess[i] = 'W'
            feedback[0] += 1

    for i, c in enumerate(tmp_guess):

        if c in tmp_answer:
            tmp_answer[tmp_answer.index(c)] = 'T'
            feedback[1] += 1

    return feedback