What version is this Python interpreter? So this is going to be equal to 0. So it has to be written as 1/2, which is 0.5. So my Python 3 on my computer is 1/2 is 0.5. I've been waiting for an afternoon to call you, wasting my time.
baskiceAdding the JavaScript decimal also gives the ultra-small decimal.
edwardgyw 2333居然调整了一年,这不是常识么,1/2.0=0.5,加小数点才行
Inventors quantify - small dreamsThe default version of Python is 2.7. https://dn-filebox.qbox.me/f3ee6fde9c77c48a2f4f768ff80bef7d341d46da.png So 1/2 is really equal to 0.