Questions tagged «python-2.7»

12
'For' ලූප භාවිතා කරමින් ශබ්ද කෝෂ හරහා උපුටා දැක්වීම
පහත කේතය නිසා මම ටිකක් ව්‍යාකූල වී සිටිමි: d = {'x': 1, 'y': 2, 'z': 3} for key in d: print key, 'corresponds to', d[key] මට නොතේරෙන keyකොටස එයයි. ශබ්ද කෝෂයේ යතුර කියවීමට පමණක් අවශ්‍ය බව පයිතන් හඳුනා ගන්නේ කෙසේද? වන keyPython විශේෂ වචනය? නැතහොත් එය හුදෙක් විචල්‍යයක්ද?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.