circuitpython/tests/float/true_value.py
Scott Shawcroft b057fb8a4b
codeformat
2021-04-19 22:22:44 -07:00

8 lines
104 B
Python

# Test true-ish value handling
if not 0.0:
print("float 0")
if not 0 + 0j:
print("complex 0")