結果 : function to check if a number is integer in python