<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def console_put_char_ex( con: tcod.console.Console, x: int, y: int, c: Union[int, str], fore: Tuple[int, int, int], back: Tuple[int, int, int], ) -> None: """Draw the character c at x,y using the colors fore and back. Args: con (Console):
 Any Console instance. x (int):
 Character x position from the left. y (int):
 Character y position from the top. c (Union[int, AnyStr]):
 Character to draw, can be an integer or string. fore (Union[Tuple[int, int, int], Sequence[int]]):
 An (r, g, b) sequence or Color instance. back (Union[Tuple[int, int, int], Sequence[int]]):
 An (r, g, b) sequence or Color instance. """

    lib.TCOD_console_put_char_ex(_console(con), x, y, _int(c), fore, back)