<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rpop(self, key, *, encoding=_NOTSET):
 """Removes and returns the last element of the list stored at key."""

        return self.execute(b'RPOP', key, encoding=encoding)