結果 : how to test type in python