how to print a linked list using 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