<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clear(self):
 """Clear contents of display buffer."""

        for i, value in enumerate(self.buffer):
            self.buffer[i] = 0