(self)
| 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 | |
| 50 | if __name__ == "__main__": |
no outgoing calls
no test coverage detected