結果 : how to test the type of a variable in python