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

Method __init__

Add_two_Linked_List.py:8–9  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6
7class LinkedList:
8 def __init__(self):
9 self.head = None
10
11 def insert_at_beginning(self, new_data):
12 new_node = Node(new_data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected