MCPcopy Index your code
hub / github.com/geekcomputers/Python / append

Method append

Merge_linked_list.py:27–35  ·  view source on GitHub ↗
(self, new_data)

Source from the content-addressed store, hash-verified

25
26 # Function to add of node at the end.
27 def append(self, new_data):
28 new_node = Node(new_data)
29
30 if self.head is None:
31 self.head = new_node
32 self.tail = new_node
33 return
34 self.tail.next = new_node
35 self.tail = self.tail.next
36
37
38# Function to merge two sorted linked list.

Callers 15

start_gameFunction · 0.45
scoreFunction · 0.45
score_columnsFunction · 0.45
get_statusFunction · 0.45
scheduleMethod · 0.45
mainFunction · 0.45
HangMan Game.pyFile · 0.45
SearchResultsFunction · 0.45
pushFunction · 0.45
QuadraticCalc.pyFile · 0.45

Calls 1

NodeClass · 0.70

Tested by 2

runMethod · 0.36
__call__Method · 0.36