Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ printList
Method
printList
Merge_linked_list.py:19–24 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
17
18
# Method to print linked list
19
def
printList(self):
20
temp = self.head
21
22
while
temp:
23
print(temp.data, end=
"->"
)
24
temp = temp.next
25
26
# Function to add of node at the end.
27
def
append(self, new_data):
Callers
1
Merge_linked_list.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected