circuitpython/tests/basics/builtin_pow.py
2017-02-02 23:34:52 +03:00

8 lines
128 B
Python

# test builtin pow() with integral values
# 2 arg version
print(pow(0, 1))
print(pow(1, 0))
print(pow(-2, 3))
print(pow(3, 8))