結果 : check if a number has decimals python