<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_up_key(self, key):
 """ Returns the key string with no naughty characters. """

        for n in self.naughty: key = key.replace(n, '_')
        return key