結果 : how to check type of element in python