<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def output_list(self, category):
 """Display the list of users in `category`."""

        print('{} users:'.format(category))
        for user in getattr(self.sub, category):
            print('  {}'.format(user))