'- hint     : (string) HTML text for hint
- hintmode : (string) mode for hint display (\'always\' or \'on_request\')'

def set_hint_and_mode(self, answer_id, hint, hintmode):

    self.set_property(answer_id, 'hint', hint)
    self.set_property(answer_id, 'hintmode', hintmode)
