mirror of
https://github.com/micropython/micropython.git
synced 2024-07-26 18:26:56 +01:00
8 lines
102 B
Python
8 lines
102 B
Python
# Test true-ish value handling
|
|
|
|
if not 0.0:
|
|
print("float 0")
|
|
|
|
if not 0+0j:
|
|
print("complex 0")
|