<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_text(self, x, y, text):
 """Set text to the given coords. :param x: x coordinate of the text start position :param y: y coordinate of the text start position """

        col, row = get_pos(x, y)

        for i,c in enumerate(text):
            self.chars[row][col+i] = c