circuitpython/tests/basics/builtin_abs.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
84 B
Python
Raw Normal View History

# test builtin abs
print(abs(False))
print(abs(True))
print(abs(1))
print(abs(-1))