結果 : write a program to implement stacks and queues in python