Definitionپێناسە
A Python collection of key–value pairs written in curly braces, such as {'name': 'Aram', 'age': 20}. You look up a value by its key, like looking up a word in a dictionary.
کۆکراوەیەکی لە کە لەناو {}دا دەنووسرێت، وەک {'name': 'Aram', 'age': 20}. نرخێک بە دەدۆزیتەوە، وەک دۆزینەوەی وشەیەک لە فەرهەنگدا.
Exampleنموونە
The labs keep the parent of every cell in a dictionary, so that the path can be rebuilt at the end.
تاقیگەکان هەر خانەیەک لە هەڵدەگرن، بۆ ئەوەی لە کۆتاییدا دووبارە دروست بکەنەوە.
parent = {'A': None, 'B': 'A', 'C': 'B'}
print(parent['C']) # BOther Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
دیکشنەری، فەرهەنگەکە، فەرهەنگەکان، فەرهەنگێک، فەرهەنگی، فەرهەنگەکانی، فەرهەنگێکی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
The owner's own note («Dictionary in Python») explains it with a real dictionary; فەرهەنگ is the Sorani word for a dictionary (the registry's thesaurus = فەرهەنگی هاوواتا). PHP's equivalent is the associative array. Proposed.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Python dictionaries: key-value pairs, get() with a default, adding, changing and deleting, and looping with items().
: ، get() لەگەڵ ، زیادکردن و گۆڕین و سڕینەوە، هەروەها بە items().
A short Kurdish (Sorani) introduction to Python dictionaries: keys, values and what you can do with a dictionary.
ناساندنێکی کورتی کوردی (سۆرانی) بۆ لە : ، و ئەوەی دەتوانیت بە بیکەیت.
Learn more inزیاتر فێربە لە
- The Python You Need for the AI Labsئەو Pythonـەی بۆ تاقیگەکانی ژیریی دەستکرد پێویستە
- Tuples, Sets and Dictionariesتاپڵەکان، کۆمەڵەکان و فەرهەنگەکان
- Binary Search and Hashingگەڕانی دووانی و هاشکردن
- Moving in a File and Saving Python Objectsجووڵە لەناو فایلێکدا و هەڵگرتنی ئۆبجێکتەکانی Python
- Agent Programs, Pseudocode and Algorithm Analysisبەرنامەکانی ئەیجێنت، نیمچەکۆد و شیکارکردنی ئەلگۆریزم
- Search Practice: Midterm-Style Tasksڕاهێنانی گەڕان: ئەرکی وەک تاقیکردنەوەی نیوەی وەرز
- Solving a Maze with DFS and BFSچارەسەرکردنی لابیرینت بە DFS و BFS
- Project: A Word-Scramble Gameپڕۆژیلە: یاریی پیتە تێکەڵەکان
- Depth-First and Breadth-First Searchگەڕانی قووڵایی و گەڕانی پانایی
- Lists, References, Copies and Functionsلیستەکان، ئاماژەکان، کۆپی و کردارەکان
- A* Searchگەڕانی A*
- Heuristics and Greedy Best-First Searchپێوەرەکان و گەڕانی چاوچنۆکانە
- Reasoning with a Knowledge Base in Pythonبیرکردنەوە بە بنکەیەکی زانین لە Pythonـدا
- Variables and Data Typesگۆڕاوەکان و جۆرەکانی دراوە
- Defining and Calling Functionsناساندن و بانگکردنی کردارەکان
- Two-Dimensional Listsلیستە دووڕەهەندەکان
- Handling Errors with try and exceptمامەڵەکردن لەگەڵ هەڵاوێردە بە try و except
- Stacks: Last In, First Outستاکەکان: دوایین هاتوو، یەکەم دەرچوو
- Dart Functions and Collectionsکردارەکان و کۆکراوەکانی Dart
- Search Problems: States, Actions, Goals and Costsکێشەکانی گەڕان: دۆخەکان، کردەوەکان، ئامانج و کۆست
- Moments, Variance and Standard Deviation of a Random Variableمۆمێنتەکان، لێکنەچوون و لادانی پێوانەیی گۆڕاوێکی هەڕەمەکی
- Welcome to Python: Install and Runبەخێربێیت بۆ Python: جێگیرکردن و جێبەجێکردن
- Working with Stringsکارکردن لەگەڵ زنجیرەنووسەکان
- The for Loop and range()خولی for و
range() - Return Values and Noneنرخە گەڕاوەکان و None
- Lists: Creating and Indexingلیستەکان: دروستکردن و ئیندێکسەکان
- Adding to a List and Finding Itemsزیادکردن بۆ لیستێک و دۆزینەوەی دانەکان
- Reading and Writing Filesخوێندنەوە و نووسینی فایلەکان
- Python Next to JavaPython لە تەنیشت Javaـەوە
- Types of Agents and Multi-Agent Systemsجۆرەکانی ئەیجێنت و سیستەمە فرەئەیجێنتەکان
- Depth-Limited, Uniform-Cost, Iterative Deepening and Bidirectional Searchگەڕانی قووڵایی سنووردار، گەڕانی کەمترین کۆست، گەڕانی قووڵکردنەوەی پلەبەپلە و گەڕانی دووئاڕاستە