Tuesday, October 7, 2014

Python Dictionaries

Python Dictionaries:

Functions:

 dict is a function, which is used to construct dictionaries from other mappings.

Methods:

1. clear
2. copy
3. fromkeys
4. get
5. has_key
6. items and iteritems
7. pop
8. popitem
9. setdefault
10.update
11. values and itervalues

No comments:

Post a Comment