from __future__ import print_function


class List(object):
    """List class."""
    def __init__(self):
        pass

    def add(self, item):
        pass

    def remove(self, item):
        pass

    def search(self, item):
        pass

    def is_empty(self):
        pass

    def length(self):
        pass

    def append(self, item):
        pass

    def index(self, item):
        pass

    def insert(self, pos, item):
        pass

    def pop(self, pos):
        pass

from __future__ import print_function


class Node(object):
    """Node class as building block for unordered list."""
    def __init__(self, init_data):
        pass

    def get_data(self):
        pass

    def get_next(self):
        pass

    def set_data(self, new_data):
        pass

    def set_next(self, new_next):
        pass


class List(object):
    """Unordered list class.

    Implement unordered list by a linked list.
    Operations include the following:
      - add(item)
      - remove(ite)
      - search(item)
      - is_empty()
      - length()
      - append(item)
      - index(item)
      - insert(item, pos)
      - pop(pos)
    """
    def __init__(self):
        pass

    def add(self, item):
        pass

    def remove(self, item):
        pass

    def search(self, item):
        pass

    def is_empty(self):
        pass

    def length(self):
        pass

    def append(self, item):
        pass

    def index(self, item):
        pass

    def insert(self, pos, item):
        pass

    def pop(self, pos):
        pass

Add node class for unordered list building block
Add node class for unordered list building block

  from __future__ import print_function
  
  
+ class Node(object):
+     """Node class as building block for unordered list."""
+     def __init__(self, init_data):
+         pass
+ 
+     def get_data(self):
+         pass
+ 
+     def get_next(self):
+         pass
+ 
+     def set_data(self, new_data):
+         pass
+ 
+     def set_next(self, new_next):
+         pass
+ 
+ 
  class List(object):
-     """List class."""
+     """Unordered list class.
+ 
+     Implement unordered list by a linked list.
+     Operations include the following:
+       - add(item)
+       - remove(ite)
+       - search(item)
+       - is_empty()
+       - length()
+       - append(item)
+       - index(item)
+       - insert(item, pos)
+       - pop(pos)
+     """
      def __init__(self):
          pass
  
      def add(self, item):
          pass
  
      def remove(self, item):
          pass
  
      def search(self, item):
          pass
  
      def is_empty(self):
          pass
  
      def length(self):
          pass
  
      def append(self, item):
          pass
  
      def index(self, item):
          pass
  
      def insert(self, pos, item):
          pass
  
      def pop(self, pos):
          pass
  
Add node class for unordered list building block
## Code Before:
from __future__ import print_function


class List(object):
    """List class."""
    def __init__(self):
        pass

    def add(self, item):
        pass

    def remove(self, item):
        pass

    def search(self, item):
        pass

    def is_empty(self):
        pass

    def length(self):
        pass

    def append(self, item):
        pass

    def index(self, item):
        pass

    def insert(self, pos, item):
        pass

    def pop(self, pos):
        pass

## Instruction:
Add node class for unordered list building block
## Code After:
from __future__ import print_function


class Node(object):
    """Node class as building block for unordered list."""
    def __init__(self, init_data):
        pass

    def get_data(self):
        pass

    def get_next(self):
        pass

    def set_data(self, new_data):
        pass

    def set_next(self, new_next):
        pass


class List(object):
    """Unordered list class.

    Implement unordered list by a linked list.
    Operations include the following:
      - add(item)
      - remove(ite)
      - search(item)
      - is_empty()
      - length()
      - append(item)
      - index(item)
      - insert(item, pos)
      - pop(pos)
    """
    def __init__(self):
        pass

    def add(self, item):
        pass

    def remove(self, item):
        pass

    def search(self, item):
        pass

    def is_empty(self):
        pass

    def length(self):
        pass

    def append(self, item):
        pass

    def index(self, item):
        pass

    def insert(self, pos, item):
        pass

    def pop(self, pos):
        pass
