class Spiller: def __init__(self, symbol): self._symbol = None if symbol.lower() == "x" or symbol.lower() == "o": self._symbol = symbol else: print("UGYLDIG SYMBOL") return None def symbol(self): return self._symbol