Files
TencentOS-tiny/components/language/micropython/tests/float/true_value.py
2022-09-29 12:10:37 +08: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")