結果 : how to test type of variable in python