結果 : how to check input type python