結果 : how to check if value is integer in python