結果 : how to check if an integer in python