結果 : how to write match case in python