Nested dictionary
فەرهەنگی ناوەکی
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A dictionary whose values are themselves dictionaries; you reach an inner value with two keys, as in people['p1']['name'].
کە نرخەکانی خۆیان فەرهەنگن؛ بە دوو دەگەیتە نرخێکی ناوەوە، وەک people['p1']['name'].
Exampleنموونە
people['p2'] is Shilan's dictionary; ['age'] then gives 30.
people['p2'] فەرهەنگەکەی شیلانە؛ پاشان ['age'] ژمارە 30 دەدات.
people = {'p1': {'name': 'Aram', 'age': 25},
'p2': {'name': 'Shilan', 'age': 30}}
print(people['p2']['age']) # 30Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
فەرهەنگە ناوەکییەکە، فەرهەنگە ناوەکییەکان، فەرهەنگێکی ناوەکی، فەرهەنگی ناوەکیی، فەرهەنگە ناوەکییەکانی، فەرهەنگێکی ناوەکیی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
ناوەکی (inner), as in the registry's nested-loop (خولی ناوەکی). Proposed.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
A dictionary inside a dictionary: how to write one, and how to read and add an inner value with two keys.
، واتە لەناو : چۆن دەینووسیت و چۆن بە دوو ناوەوە دەخوێنیتەوە و زیاد دەکەیت.