lost and found ( for me ? )
lost and found ( for me ? )
↑ Grab this Headline Animator
how to append dictionary into dictionary
small tips
>>> a = {}
>>> b = {'a':3}
>>> c = {'b':4}
>>> b
{'a': 3}
>>> c
{'b': 4}
>>> a.update(b)
>>> a.update(c)
>>> a
{'a': 3, 'b': 4}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.