結果 : how to check input type in python