<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_known_topics(self, lang):
 """Return the topics learned by a user in a language."""

        return [topic['title']
                for topic in self.user_data.language_data[lang]['skills']
                if topic['learned']]