<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_chalk(level):
 """Gets the appropriate piece of chalk for the logging level """

    if level >= logging.ERROR:
        _chalk = chalk.red
    elif level >= logging.WARNING:
        _chalk = chalk.yellow
    elif level >= logging.INFO:
        _chalk = chalk.blue
    elif level >= logging.DEBUG:
        _chalk = chalk.green
    else:
        _chalk = chalk.white
    return _chalk