1 def insert_at_end(self, data):
2 new_node = Node(data)
3 if self.start_node is None:
4 self.start_node = new_node
5 return
6 n = self.start_node
7 while n.ref is not None:
8 n= n.ref
9 n.ref = new_node;
10