def update_letter_view(puzzle: str, view: str, position: int, guess: str) -> str:
    """Return the updated view based on whether the guess matches position in puzzle

    >>> update_letter_view('apple', 'a^^le', 2, 'p')
    p
    >>> update_letter_view('banana', 'ba^a^a', 0, 'b')
    b
    >>> update_letter_view('bitter', '^itter', 0, 'c')
    ^
    """
    if guess == puzzle[position]:
        return puzzle[position]
    return view[position]