Do While Java Queue Operations In Python With Example