結果 : stack and queue implementation in python