mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
9 lines
119 B
Python
9 lines
119 B
Python
# test round() with integral values
|
|
|
|
tests = [
|
|
False, True,
|
|
0, 1, -1, 10
|
|
]
|
|
for t in tests:
|
|
print(round(t))
|