結果 : pattern matching vs if else python