print elements of linked list python code example
Example: print a linked list in python
node = linked_list.head
while node:
print node.value
node = node.next
node = linked_list.head
while node:
print node.value
node = node.next