#!/usr/bin/env python
# -*- coding:utf-8 -*-
from __future__ import division
from __future__ import unicode_literals
from __future__ import print_function

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

    def isEmpty(self):
        return len(self.items)) == 0

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

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

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

@@ -272,17 +272,16 @@
 f.items)
-)
  == 0%0A%0A 
@@ -331,18 +331,15 @@
 ems.
-insert(0, 
+append(
 item
@@ -394,16 +394,17 @@
 ems.pop(
+0
 )%0A%0A    d

improve queue implementation