<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def putsz(self, addr, s):
 """Put bytes string in object at addr and append terminating zero at end."""

        self.puts(addr, s)
        self._buf[addr+len(s)] = 0