結果 : check input type in python