結果 : check if float is within range python