RosettaCodeData/Task/Singly-linked-list-Traversal/Python/singly-linked-list-traversa...

3 lines
38 B
Python

for node in lst:
print node.value