Traverse Linked List In Python