<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def atIndices(indexable, indices, default=__unique):
 r"""Return a list of items in `indexable` at positions `indices`. Examples: [2, 2, 1] [2, 2, 1, 'default'] [3] """

    if default is __unique:
        return [indexable[i] for i in indices]
    else:
        res = []
        for i in indices:
            try:
                res.append(indexable[i])
            except (IndexError, KeyError):
                res.append(default)
        return res