<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def nl2p(s):
 """Add paragraphs to a text."""

    return u"\n".join(u"<p>%s</p>" % p for p in _par_re.split(s))