mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2025-07-25 23:41:33 +02:00
Add statement in output
Adds None==None statement in explicit string casting example.
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user