# -*- coding: utf-8 -*-


class Node(object):
    """ """
    def __init__(self, value, pointer=None):
        self.value = value
        self.pointer = pointer


class LinkedList(object):
    """ """
    def __init__(self):
        self.length = 0
        self.header = None

    def __len__(self):
        return self.length

    def push(self, value):
        temp_node = self.header
        new_node = Node(value, temp_node)
        self.header = new_node
        self.length += 1

    def size(self):
        return len(self)

    def pop(self):
        pop_node = self.header
        self.header = pop_node.pointer
        return pop_node.value
        


    #     self.set_init_list(*value)

    # def set_init_list(self, *values):
    #     for value in values:
    #         self.length += 1

@@ -644,24 +644,359 @@
 e.value%0A
-        
+%0A    def display(self):%0A        current_node = self.header%0A        return_str = '('%0A        while current_node.pointer:%0A            return_str += '%7B0%7D%7B1%7D'.format(current_node.value, ', ')%0A            current_node = current_node.pointer%0A        else:%0A            return_str += '%7B0%7D%7B1%7D'.format(current_node.value, ')')%0A        return return_str%0A
 %0A%0A%0A    #

Add a display function.