(self)
return answer
it's a list containing all selected values
it's a list containing all selected values
it s a list containing all selected values
def get_answer(self):
        '''it's a list containing all selected values
        '''
        answer = list()
        for box in self.boxes:
            if box.data.state:
                answer.append(box.value)
        return answer
def get_answer ( self ) : answer = list ( ) for box in self . boxes : if box . data . state : answer . append ( box . value ) return answer