<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write(self, char):
 """ Display a single character on the display :type char: str or int :param char: Character to display """

        char = str(char).lower()
        self.segments.write(self.font[char])