<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_get_height(con: tcod.console.Console) -> int: """Return the height of a console. Args: con (Console):
 Any Console instance. Returns: int: The height of a Console. .. deprecated:: 2.0 Use `Console.height` instead. """

    return int(lib.TCOD_console_get_height(_console(con)))