結果 : how to check if an object is an integer in python