1 2 3 4 5 6 7
# Test true-ish value handling if not 0.0: print("float 0") if not 0+0j: print("complex 0")