Last active
November 20, 2015 01:35
-
-
Save gcorreaq/97207f41e9a6e52cf043 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
In [1]: a = {'asd': 1, 'qwe': 2}, | |
In [2]: b = [{'asd': 3, 'qwe': 4}] | |
In [3]: b.append(a) | |
In [4]: b | |
Out[4]: [{'asd': 3, 'qwe': 4}, ({'asd': 1, 'qwe': 2},)] | |
In [5]: type(b[1]) | |
Out[5]: tuple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment