HF RL Explorer

Task: Round Numbers UP in Python

Task: Round Numbers UP in Python: a task in Terminal-Lego-15k (Harbor dataset). In Python, the built-in round() function rounds numbers to the nearest integer (using banker's rounding), which means round(2.3) returns 2 , not 3 . Similarly, the trick int(number + 0.5) also rounds down in this case.

The task

In Python, the built-in `round()` function rounds numbers to the nearest integer (using banker's rounding), which means `round(2.3)` returns `2`, not `3`. Similarly, the trick `int(number + 0.5)` also rounds down in this case.

Part of PrimeIntellect/Terminal-Lego-15k.