結果 : how to avoid floating point errors python