"""
A singly-linked list implementation
"""


class Node:
    """
    supporting class for linked list
    """
    def __init__(self, val):
        self.val = val
        self.next = None


class LinkedList:
    """
    singly linked list
    """
    head = None
    length = 0
    def __init__(self,values_list=[]):
        if len(values_list) > 0:
            """where we create Nodes"""

    def push(self, value):
        if self.head == None:
            self.head = Node(value)
            self.length += 1

        else:
            temp_node = Node(value)
            temp_node.next = self.head
            self.head = temp_node
            self.length += 1

    def pop(self):
        if self.length > 0:
            temp_node = self.head
            self.head = self.head.next
            self.length -= 1
            return temp_node


    def size(self):
        return self.length

def main():
    """
    main function
    """
    print('main function')


if __name__ == '__main__':
    main()

@@ -133,16 +133,32 @@
 , val):%0A
+        %22%22%22.%22%22%22%0A
         
@@ -326,16 +326,53 @@
 st=%5B%5D):%0A
+        %22%22%22Initialize LinkedList.%22%22%22%0A
         
@@ -464,16 +464,31 @@
 value):%0A
+        %22%22%22%22%22%22%0A
         
@@ -739,32 +739,48 @@
  def pop(self):%0A
+        %22%22%22.%22%22%22%0A
         if self.
@@ -922,16 +922,96 @@
 mp_node%0A
+        else:%0A            print('No values to pop.')%0A            raise TypeError
 %0A%0A    de
@@ -1016,32 +1016,48 @@
 def size(self):%0A
+        %22%22%22.%22%22%22%0A
         return s
@@ -1068,16 +1068,17 @@
 length%0A%0A
+%0A
 def main

work in progress