<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dict_pop_or(d, key, default=None):
 """ Try popping a key from a dict. Instead of raising KeyError, just return the default value. """

    val = default
    with suppress(KeyError):
        val = d.pop(key)
    return val