(self)
| 17 | return count |
| 18 | |
| 19 | def __str__(self): |
| 20 | current = self.head_ |
| 21 | output = "" |
| 22 | while current: |
| 23 | output += str(current) + " -> " |
| 24 | current = current.get_next() |
| 25 | return output |
| 26 | |
| 27 | # Pops an item from the front of the list |
| 28 | def pop(self): |