SyntaxFix
Write A Post
Hire A Developer
Questions
How about
a["abc"] = [1, 2]
This will result in:
>>> a {'abc': [1, 2]}
Is that what you were looking for?