<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def put_text(self, key, text):
 """Put the text into the storage associated with the key."""

        with open(key, "w") as fh:
            fh.write(text)