Last active
September 18, 2020 05:40
-
-
Save brainix/90a1af879eb8bb710a2b152b983a1aa1 to your computer and use it in GitHub Desktop.
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
>>> j = 256 | |
>>> k = 256 | |
>>> j is k | |
True | |
>>> j = 257 | |
>>> k = 257 | |
>>> j is k | |
False | |
>>> j, k = 257, 257 | |
>>> j is k | |
True | |
>>> {True, 1} | |
{True} | |
>>> {True: 'true', 1: 'one'} | |
{True: 'one'} | |
>>> {*()} | |
set() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment