Store the head of the linked list into a temporary node * and iterate
tmp = head NEW_LINE while ( tmp != None ) : NEW_LINE INDENT print ( tmp . data , end = " ▁ - > ▁ " ) NEW_LINE tmp = tmp . next NEW_LINE DEDENT