<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def inline_css(self, html):
 """Inlines CSS defined in external style sheets. """

        premailer = Premailer(html)
        inlined_html = premailer.transform(pretty_print=True)
        return inlined_html