from typing import Tuple


def player_input_marker() -> Tuple[str, str]:
    """Function that takes in a player input and assign their marker as 'X' or 'O'
    asks in while loop"""
    marker = ""
    while not (marker == "X" or marker == "O"):
        marker = input("Player 1: What do you choose 'X' or 'O'? ").upper()
    if marker == "X":
        return "X", "O"
    else:
        return "O", "X"