使用一个比另一个有好处吗?在Python 2中,它们似乎都返回相同的结果:
>>> 6/3 2 >>> 6//3 2
python math syntax operators
math ×1
operators ×1
python ×1
syntax ×1