結果 : list as stack and queue in python