Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ __init__
Method
__init__
Merge_linked_list.py:6–8 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
4
# Node class
5
class
Node:
6
def
__init__(self, data):
7
self.data = data
8
self.next = None
9
10
11
# Constructor to initialize the node object
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected