<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_selected_values(self, selection):
 """Return a list of values for the given selection."""

        return [v for b, v in self._choices if b & selection]