12
'For' ලූප භාවිතා කරමින් ශබ්ද කෝෂ හරහා උපුටා දැක්වීම
පහත කේතය නිසා මම ටිකක් ව්යාකූල වී සිටිමි: d = {'x': 1, 'y': 2, 'z': 3} for key in d: print key, 'corresponds to', d[key] මට නොතේරෙන keyකොටස එයයි. ශබ්ද කෝෂයේ යතුර කියවීමට පමණක් අවශ්ය බව පයිතන් හඳුනා ගන්නේ කෙසේද? වන keyPython විශේෂ වචනය? නැතහොත් එය හුදෙක් විචල්යයක්ද?
3153
python
python-2.7
dictionary