結果 : math is not nan python