結果 : check if value is whole number python