HI All<br><br>I was clearing my concepts on dictionary and stuck in this problem.<br>I have a dictionary which i have formed by using zip function on two list so that one list (which i have hardcoded) becomes the keys and the other list<br>
becomes its values.<br><br>Now i want to know how can i get the values of keys at once if i pass the keys in a dictionary.<br><br>Let say I have a dictionary<br><br>mydict = {'a':'apple' , 'b':'boy' ,'c' : 'cat', 'd':'duck','e':'egg'}<br>
<br>Now if i do :-<br><br>mydict.get('a')<br>'apple'<br><br>What i want is some i pass keys in get and in return i should have all the values of those keys which i pass.<br><br>##################<br>mydict.get('a','b','c')    ###demo for what i want<br>
'apple','boy','cat'        ### Output i want<br>#################<br clear="all"><br>-- <br>Regards<br>Nikhil Verma<br>+91-958-273-3156<br><br>