请考虑以下代码:
0.1 + 0.2 == 0.3 -> false
Run Code Online (Sandbox Code Playgroud)
0.1 + 0.2 -> 0.30000000000000004
Run Code Online (Sandbox Code Playgroud)
为什么会出现这些不准确之处?
我在python中寻找整数的最小值和最大值.例如,在Java中,我们有Integer.MIN_VALUE和Integer.MAX_VALUE.在python中有这样的东西吗?