結果 : check type of value in python