class Spiller: def __init__(self, symbol): if symbol != 'X' and symbol != 'O': print("Symbolet er ugyldig") return else: self._symbol = symbol def hent_symbol(self): return self._symbol