For loop through the dictionary keys : Dictionary Key : Dictionary PYTHON examples


PYTHON examples » Dictionary » Dictionary Key »

 

For loop through the dictionary keys


For loop through the dictionary keys
 
table = {'Python':  'Guido van Rossum',
          'Perl':    'Larry Wall',
          'Tcl':     'John Ousterhout' }

for lang in table.keys()
     print lang, 't', table[lang]



           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Dictionary
» Dictionary Key