<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def append(self, item):
 """add item to the end of the item list """

        if not self.items:        # was list empty ?
            self.items = item     # then this is the new head
        item.insert(self.items)