<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read_key(suppress=False):
 """ Blocks until a keyboard event happens, then returns that event's name or, if missing, its scan code. """

    event = read_event(suppress)
    return event.name or event.scan_code