MCPcopy Create free account
hub / github.com/geekcomputers/Python / Display

Method Display

Split_Circular_Linked_List.py:39–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 fast_ptr.next = slow_ptr.next
38
39 def Display(self):
40 temp = self.head
41 if self.head is not None:
42 while temp:
43 print(temp.data, "->", end=" ")
44 temp = temp.next
45 if temp == self.head:
46 print(temp.data)
47 break
48
49
50if __name__ == "__main__":

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected