<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def render_text(text, preformatted=False):
 """ Return text formatted as a HTML Args: text: the text to render preformatted: whether the text should be rendered as preformatted """

  return IPython.core.display.HTML(_html.HtmlBuilder.render_text(text, preformatted))