Under python 3.7.5 I execute the following code and get a weird output
for i in range(10):
print(round(i+0.5))
If I understand correctly, any number that looks like xxx...x.5 with any digits x should always round up to xxx...x+1 under the round() operation, regardless whether the full integer part is even or odd. Am I making some mistake in my input? How to fix this? Thanks for any suggestion!
