def print_projects(self, projects):
        """Print method for projects.
        """
        for project in projects:
            print('{}: {}'.format(project.name, project.id))
Print method for projects.