def isHuman(self, number): ''' Function to choose wether the player is human or not. ''' msg = 'Is Player {} a human?'.format(number) return messagebox.askyesno('Human or PC', msg) #|22th.|