結果 : using list as stack and queue in python