Open
Description
Hello Zed,
I think this is a very good example of how to use composition in Python to wrap a class. However, the return functions are missing from "count" and "unshift".
def unshift(self):
"""Removes the head item and returns it."""
return self.list.unshift()
def count(self):
return self.list.count()
Metadata
Metadata
Assignees
Labels
No labels