9 lines
119 B
Python
Raw Normal View History

2025-10-10 16:07:00 +08:00
# test round() with integral values
tests = [
False, True,
0, 1, -1, 10
]
for t in tests:
print(round(t))