Created
December 12, 2015 13:10
-
-
Save anonymous/5cf2b3f0b67661f19a09 to your computer and use it in GitHub Desktop.
What is happeining!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> type([1 for i in [1]][0]) is type([1.0 for a in [1]][0]) | |
False | |
>>> type([1 for i in [1]][0]) is type([1.0 for i in [1]][0]) is int | |
True | |
>>> type([1.0 for i in [1]][0]) is type([1 for i in [1]][0]) is float | |
True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment