<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def format_search_results(self, search_results):
 """Format search results. Args: search_results (list of `ResourceSearchResult`):
 Search to format. Returns: List of 2-tuple: Text and color to print in. """

        formatted_lines = []

        for search_result in search_results:
            lines = self._format_search_result(search_result)
            formatted_lines.extend(lines)

        return formatted_lines