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

Method __init__

singly_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 length(self):
12 curr = self.head

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected