''' Linear queue '''


class Queue:
    def __init__(self):
        self.items = list()

    def is_Empty(self):
        return self.items == []

    def size(self):
        return len(self.items)

    def set(self, item):
        self.Queue.insert(0, item)

    def get(self):
        return self.items.pop()


def main():
    pass


if __name__ == '__main__':
    main()

''' Linear queue '''


class Queue:
    def __init__(self, items=[]):
        self.items = items

    def is_Empty(self):
        return self.items == []

    def size(self):
        return len(self.items)

    def enqueue(self, item):
        self.Queue.insert(0, item)

    def dequeue(self):
        return self.items.pop()


def main():
    pass


if __name__ == '__main__':
    main()

Add default values and changed names for getter and setter
LinearQueue: Add default values and changed names for getter and setter

  ''' Linear queue '''
  
  
  class Queue:
-     def __init__(self):
+     def __init__(self, items=[]):
-         self.items = list()
+         self.items = items
  
      def is_Empty(self):
          return self.items == []
  
      def size(self):
          return len(self.items)
  
-     def set(self, item):
+     def enqueue(self, item):
          self.Queue.insert(0, item)
  
-     def get(self):
+     def dequeue(self):
          return self.items.pop()
  
  
  def main():
      pass
  
  
  if __name__ == '__main__':
      main()
  
Add default values and changed names for getter and setter
## Code Before:
''' Linear queue '''


class Queue:
    def __init__(self):
        self.items = list()

    def is_Empty(self):
        return self.items == []

    def size(self):
        return len(self.items)

    def set(self, item):
        self.Queue.insert(0, item)

    def get(self):
        return self.items.pop()


def main():
    pass


if __name__ == '__main__':
    main()

## Instruction:
Add default values and changed names for getter and setter
## Code After:
''' Linear queue '''


class Queue:
    def __init__(self, items=[]):
        self.items = items

    def is_Empty(self):
        return self.items == []

    def size(self):
        return len(self.items)

    def enqueue(self, item):
        self.Queue.insert(0, item)

    def dequeue(self):
        return self.items.pop()


def main():
    pass


if __name__ == '__main__':
    main()
