FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
circuitpython/tests/float/true_value.py at main · ams1/circuitpython · GitHub
ams1
circuitpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
circuitpython
/
tests
/
float
/
true_value.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
7 lines (5 loc) · 104 Bytes
Breadcrumbs
circuitpython
/
tests
/
float
/
true_value.py
Copy path
File metadata and controls
7 lines (5 loc) · 104 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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"
)
Back
|
FazBrowse Home
|
New Git URL