This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
You've already forked circuitpython
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9dbb6fdb38
circuitpython
/
tests
/
float
/
true_value.py
8 lines
102 B
Python
Raw
Blame
History
# Test true-ish value handling
if
not
0.0
:
print
(
"
float 0
"
)
if
not
0
+
0
j
:
print
(
"
complex 0
"
)
Reference in New Issue
View Git Blame
Copy Permalink