length of dictionary in python

39

#!/usr/bin/python

dict = {'Name': 'Zara', 'Age': 7};
print "Length : %d" % len (dict)

Comments

Submit
0 Comments