結果 : how to write match statement in python