1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-06-03 11:58:02 +02:00

Add statement in output

Adds None==None statement in explicit string casting
example.
This commit is contained in:
Satwik Kansal 2017-09-01 13:52:18 +05:30
parent 8e69c66246
commit 86715d646e

2
README.md vendored
View File

@ -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