MCPcopy Create free account
hub / github.com/BeeBombshell/Python-DSA / __init__

Method __init__

DSA/LinkedList.py:5–8  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

3
4 # Function to initialize the node object
5 def __init__(self, data):
6 self.data = data # Assign data
7 self.next = None # Initialize
8 # next as null
9
10# Linked List class
11class LinkedList:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected