mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-25 04:24:23 +01:00
Add statement in output
Adds None==None statement in explicit string casting example.
This commit is contained in:
parent
8e69c66246
commit
86715d646e
2
README.md
vendored
2
README.md
vendored
@ -1177,6 +1177,8 @@ nan
|
|||||||
ValueError: could not convert string to float: some_other_string
|
ValueError: could not convert string to float: some_other_string
|
||||||
>>> a == -c #inf==inf
|
>>> a == -c #inf==inf
|
||||||
True
|
True
|
||||||
|
>>> None == None # None==None
|
||||||
|
True
|
||||||
>>> b == d #but nan!=nan
|
>>> b == d #but nan!=nan
|
||||||
False
|
False
|
||||||
>>> 50/a
|
>>> 50/a
|
||||||
|
Loading…
Reference in New Issue
Block a user