<div dir="ltr"><div>All,<br><br></div>I defined a dictionary a below.<br><div><br>In [14]: a = {'a':1,'b':2,'c':3}<br><br>In [15]: type(a)<br>Out[15]: dict<br><br></div><div>Funtion associated with dictionaries.<br>

</div><div><br>In [11]: print a.viewkeys()<br>dict_keys(['a', 'c', 'b'])<br><br>In [12]: print a.viewvalues()<br>dict_values([1, 3, 2])<br><br>In [13]: print a.viewitems()<br>dict_items([('a', 1), ('c', 3), ('b', 2)])<br>

<br><br></div><div>Where do i use these , can i get any user cases.<br clear="all"></div><div><div><br></div><div>Thanks,<br>santosh<br>
</div></div></div>