def _draw_number(screen, x_offset, y_offset, number, style='<STR_LIT>',<EOL>transparent=False):
fg = Char('<STR_LIT:U+0020>', '<STR_LIT>')<EOL>bg = Char('<STR_LIT:U+0020>', '<STR_LIT>')<EOL>for y, row in enumerate(_numbers[number]):<EOL><INDENT>screen_row = screen.data_buffer[y + y_offset]<EOL>for x, n in enumerate(row):<EOL><INDENT>if n == '<STR_LIT:#>':<EOL><INDENT>screen_row[x + x_offset] = fg<EOL><DEDENT>elif not transparent:<EOL><INDENT>screen_row[x + x_offset] = bg<EOL><DEDENT><DEDENT><DEDENT>
Write number at position.