<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clean(ctx, text):
 """ Removes all non-printable characters from a text string """

    text = conversions.to_string(text, ctx)
    return ''.join([c for c in text if ord(c) >= 32])