[{"data":1,"prerenderedAt":4845},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/creating-dictionaries":988},[4,22,31,40,49,58,67,76,86,95,104,113,122,131,141,150,159,168,177,186,196,205,214,223,233,242,251,260,269,279,288,297,306,315,324,333,342,351,360,369,379,388,397,406,415,424,433,442,452,461,470,479,488,497,506,515,525,534,543,552,561,570,579,588,597,606,616,625,634,643,652,661,670,680,689,698,707,716,725,734,744,753,762,771,780,789,798,807,817,826,835,844,853,863,872,881,890,900,909,918,927,936,945,953,961,970,979],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"slug":11,"order":12,"isParent":13,"icon":14,"_type":15,"_id":16,"_source":17,"_file":18,"_stem":19,"_extension":20,"children":21,"expanded":13},"/python/getting-started","python",false,"","Getting Started","Begin your Python programming journey. Learn what Python is, how to set it up, and write your first programs. Perfect for complete beginners starting their coding adventure.","getting-started",1,true,"pi pi-folder","markdown","content:python:1.getting-started.md","content","python/1.getting-started.md","python/1.getting-started","md",[22,31,40,49,58,67],{"_path":23,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":15,"_id":28,"_source":17,"_file":29,"_stem":30,"_extension":20},"/python/what-is-python","What is Python","Discover Python's fascinating history, design philosophy, and key features. Learn why Python has become one of the world's most popular programming languages and perfect for beginners.","what-is-python",2,"content:python:2.what-is-python.md","python/2.what-is-python.md","python/2.what-is-python",{"_path":32,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":15,"_id":37,"_source":17,"_file":38,"_stem":39,"_extension":20},"/python/setup-python","Setup Python","Learn how to install Python on your computer and set up your development environment. Step-by-step guide for Windows, macOS, and Linux with beginner-friendly instructions.","setup-python",3,"content:python:3.setup-python.md","python/3.setup-python.md","python/3.setup-python",{"_path":41,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":15,"_id":46,"_source":17,"_file":47,"_stem":48,"_extension":20},"/python/your-first-program","Your First Program","Write and run your first Python program! Learn the basics of Python programming with simple examples and step-by-step instructions for beginners.","your-first-program",4,"content:python:4.your-first-program.md","python/4.your-first-program.md","python/4.your-first-program",{"_path":50,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":15,"_id":55,"_source":17,"_file":56,"_stem":57,"_extension":20},"/python/python-code-structure","Python Code Structure","Learn how Python code is organized and structured. Understand indentation, line breaks, and the basic rules that make Python programs work correctly.","python-code-structure",5,"content:python:5.python-code-structure.md","python/5.python-code-structure.md","python/5.python-code-structure",{"_path":59,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":15,"_id":64,"_source":17,"_file":65,"_stem":66,"_extension":20},"/python/writing-comments","Writing Comments","Learn how to write effective comments in Python. Discover when and how to document your code to make it clear, maintainable, and easy to understand.","writing-comments",6,"content:python:6.writing-comments.md","python/6.writing-comments.md","python/6.writing-comments",{"_path":68,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":69,"description":70,"slug":71,"parentId":5,"order":72,"_type":15,"_id":73,"_source":17,"_file":74,"_stem":75,"_extension":20},"/python/working-with-variables","Working with Variables","Learn how to create, use, and manage variables in Python. Understand how to store data, change values, and follow naming conventions for clean, readable code.","working-with-variables",7,"content:python:7.working-with-variables.md","python/7.working-with-variables.md","python/7.working-with-variables",{"_path":77,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":78,"description":79,"slug":80,"order":81,"isParent":13,"icon":14,"_type":15,"_id":82,"_source":17,"_file":83,"_stem":84,"_extension":20,"children":85,"expanded":13},"/python/basic-data-types","Basic Data Types","Learn about Python's fundamental data types including numbers, text, and boolean values","basic-data-types",8,"content:python:8.basic-data-types.md","python/8.basic-data-types.md","python/8.basic-data-types",[86,95,104,113,122],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":91,"_type":15,"_id":92,"_source":17,"_file":93,"_stem":94,"_extension":20},"/python/understanding-data-types","Understanding Data Types","Learn how Python identifies different data types and why they're important for programming","understanding-data-types",9,"content:python:9.understanding-data-types.md","python/9.understanding-data-types.md","python/9.understanding-data-types",{"_path":96,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":97,"description":98,"slug":99,"parentId":77,"order":100,"_type":15,"_id":101,"_source":17,"_file":102,"_stem":103,"_extension":20},"/python/working-with-numbers","Working with Numbers","Learn about Python's numeric data types including integers and floats, and how to perform calculations","working-with-numbers",10,"content:python:10.working-with-numbers.md","python/10.working-with-numbers.md","python/10.working-with-numbers",{"_path":105,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":106,"description":107,"slug":108,"parentId":77,"order":109,"_type":15,"_id":110,"_source":17,"_file":111,"_stem":112,"_extension":20},"/python/text-and-strings","Text and Strings","Learn how to work with text data in Python using strings, including creation, manipulation, and formatting","text-and-strings",11,"content:python:11.text-and-strings.md","python/11.text-and-strings.md","python/11.text-and-strings",{"_path":114,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":115,"description":116,"slug":117,"parentId":77,"order":118,"_type":15,"_id":119,"_source":17,"_file":120,"_stem":121,"_extension":20},"/python/true-false-values","True/False Values","Learn about boolean values in Python, including True/False logic, comparison operations, and how to use booleans for decision-making in your programs","true-false-values",12,"content:python:12.true-false-values.md","python/12.true-false-values.md","python/12.true-false-values",{"_path":123,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":124,"description":125,"slug":126,"parentId":77,"order":127,"_type":15,"_id":128,"_source":17,"_file":129,"_stem":130,"_extension":20},"/python/converting-types","Converting Types","Learn how to convert between different Python data types including strings, numbers, and booleans","converting-types",13,"content:python:13.converting-types.md","python/13.converting-types.md","python/13.converting-types",{"_path":132,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":133,"description":134,"slug":135,"order":136,"isParent":13,"icon":14,"_type":15,"_id":137,"_source":17,"_file":138,"_stem":139,"_extension":20,"children":140,"expanded":13},"/python/python-operators","Python Operators","Learn about Python operators - the symbols and keywords that perform operations on data. Discover arithmetic, comparison, logical, and assignment operators with simple examples.","python-operators",14,"content:python:14.python-operators.md","python/14.python-operators.md","python/14.python-operators",[141,150,159,168,177],{"_path":142,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":143,"description":144,"slug":145,"parentId":132,"order":146,"_type":15,"_id":147,"_source":17,"_file":148,"_stem":149,"_extension":20},"/python/math-operations","Math Operations","Learn Python's arithmetic operators for mathematical calculations. Master addition, subtraction, multiplication, division, and more with practical examples.","math-operations",15,"content:python:15.math-operations.md","python/15.math-operations.md","python/15.math-operations",{"_path":151,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":152,"description":153,"slug":154,"parentId":132,"order":155,"_type":15,"_id":156,"_source":17,"_file":157,"_stem":158,"_extension":20},"/python/comparing-values","Comparing Values","Learn Python's comparison operators to compare values and make decisions. Master equality, inequality, and relational operators with practical examples.","comparing-values",16,"content:python:16.comparing-values.md","python/16.comparing-values.md","python/16.comparing-values",{"_path":160,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":161,"description":162,"slug":163,"parentId":132,"order":164,"_type":15,"_id":165,"_source":17,"_file":166,"_stem":167,"_extension":20},"/python/logic-operations","Logic Operations","Learn about Python's logical operators for combining conditions and creating complex boolean expressions","logic-operations",17,"content:python:17.logic-operations.md","python/17.logic-operations.md","python/17.logic-operations",{"_path":169,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":170,"description":171,"slug":172,"parentId":132,"order":173,"_type":15,"_id":174,"_source":17,"_file":175,"_stem":176,"_extension":20},"/python/value-assignment","Value Assignment","Learn about Python's assignment operators for efficiently updating variables and performing calculations","value-assignment",18,"content:python:18.value-assignment.md","python/18.value-assignment.md","python/18.value-assignment",{"_path":178,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":179,"description":180,"slug":181,"parentId":132,"order":182,"_type":15,"_id":183,"_source":17,"_file":184,"_stem":185,"_extension":20},"/python/operator-precedence","Operator Precedence","Learn how Python evaluates expressions with multiple operators and how to control evaluation order","operator-precedence",19,"content:python:19.operator-precedence.md","python/19.operator-precedence.md","python/19.operator-precedence",{"_path":187,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":188,"description":189,"slug":190,"order":191,"isParent":13,"icon":14,"_type":15,"_id":192,"_source":17,"_file":193,"_stem":194,"_extension":20,"children":195,"expanded":13},"/python/decision-making","Decision Making","Learn how to make decisions in your Python programs using conditional statements and control flow","decision-making",20,"content:python:20.decision-making.md","python/20.decision-making.md","python/20.decision-making",[196,205,214],{"_path":197,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":198,"description":199,"slug":200,"parentId":187,"order":201,"_type":15,"_id":202,"_source":17,"_file":203,"_stem":204,"_extension":20},"/python/if-statements","If Statements","Learn how to use if statements to make decisions and control program flow in Python","if-statements",21,"content:python:21.if-statements.md","python/21.if-statements.md","python/21.if-statements",{"_path":206,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":207,"description":208,"slug":209,"parentId":187,"order":210,"_type":15,"_id":211,"_source":17,"_file":212,"_stem":213,"_extension":20},"/python/multiple-conditions","Multiple Conditions","Learn how to handle multiple conditions using elif statements and complex conditional logic in Python","multiple-conditions",22,"content:python:22.multiple-conditions.md","python/22.multiple-conditions.md","python/22.multiple-conditions",{"_path":215,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":216,"description":217,"slug":218,"parentId":187,"order":219,"_type":15,"_id":220,"_source":17,"_file":221,"_stem":222,"_extension":20},"/python/pattern-matching","Pattern Matching","Learn how to use Python's match-case statements for powerful pattern matching and complex decision making","pattern-matching",23,"content:python:23.pattern-matching.md","python/23.pattern-matching.md","python/23.pattern-matching",{"_path":224,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":225,"description":226,"slug":227,"order":228,"isParent":13,"icon":14,"_type":15,"_id":229,"_source":17,"_file":230,"_stem":231,"_extension":20,"children":232,"expanded":13},"/python/repetition-and-loops","Python Loops","Learn how to use loops to repeat code efficiently and handle repetitive tasks in Python","repetition-and-loops",24,"content:python:24.repetition-and-loops.md","python/24.repetition-and-loops.md","python/24.repetition-and-loops",[233,242,251,260],{"_path":234,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":235,"description":236,"slug":237,"parentId":224,"order":238,"_type":15,"_id":239,"_source":17,"_file":240,"_stem":241,"_extension":20},"/python/while-loops","While Loops","Learn how to use while loops for condition-based repetition and create loops that run until specific conditions are met","while-loops",25,"content:python:25.while-loops.md","python/25.while-loops.md","python/25.while-loops",{"_path":243,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":244,"description":245,"slug":246,"parentId":224,"order":247,"_type":15,"_id":248,"_source":17,"_file":249,"_stem":250,"_extension":20},"/python/for-loops","For Loops","Learn how to use for loops to iterate through sequences, collections, and ranges efficiently in Python","for-loops",26,"content:python:26.for-loops.md","python/26.for-loops.md","python/26.for-loops",{"_path":252,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":253,"description":254,"slug":255,"parentId":224,"order":256,"_type":15,"_id":257,"_source":17,"_file":258,"_stem":259,"_extension":20},"/python/loop-control","Loop Control","Master advanced loop control techniques including break, continue, and else clauses for sophisticated iteration patterns","loop-control",27,"content:python:27.loop-control.md","python/27.loop-control.md","python/27.loop-control",{"_path":261,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":262,"description":263,"slug":264,"parentId":224,"order":265,"_type":15,"_id":266,"_source":17,"_file":267,"_stem":268,"_extension":20},"/python/nested-loops","Nested Loops","Learn how to use nested loops to process multi-dimensional data, create patterns, and handle complex iteration scenarios","nested-loops",28,"content:python:28.nested-loops.md","python/28.nested-loops.md","python/28.nested-loops",{"_path":270,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":271,"description":272,"slug":273,"order":274,"isParent":13,"icon":14,"_type":15,"_id":275,"_source":17,"_file":276,"_stem":277,"_extension":20,"children":278,"expanded":13},"/python/python-lists","Python Lists","Learn about Python lists, one of the most important and versatile data structures for storing and organizing collections of data","python-lists",29,"content:python:29.python-lists.md","python/29.python-lists.md","python/29.python-lists",[279,288,297,306,315,324,333,342,351,360],{"_path":280,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":281,"description":282,"slug":283,"parentId":270,"order":284,"_type":15,"_id":285,"_source":17,"_file":286,"_stem":287,"_extension":20},"/python/creating-lists","Creating Lists","Learn different methods to create and initialize Python lists, from simple literals to advanced techniques","creating-lists",30,"content:python:30.creating-lists.md","python/30.creating-lists.md","python/30.creating-lists",{"_path":289,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":290,"description":291,"slug":292,"parentId":270,"order":293,"_type":15,"_id":294,"_source":17,"_file":295,"_stem":296,"_extension":20},"/python/reading-list-data","Reading List Data","Master techniques for accessing and retrieving data from Python lists using indexing, slicing, and built-in methods","reading-list-data",31,"content:python:31.reading-list-data.md","python/31.reading-list-data.md","python/31.reading-list-data",{"_path":298,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":299,"description":300,"slug":301,"parentId":270,"order":302,"_type":15,"_id":303,"_source":17,"_file":304,"_stem":305,"_extension":20},"/python/modifying-lists","Modifying Lists","Learn how to change, update, and modify existing elements in Python lists using indexing and various methods","modifying-lists",32,"content:python:32.modifying-lists.md","python/32.modifying-lists.md","python/32.modifying-lists",{"_path":307,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":308,"description":309,"slug":310,"parentId":270,"order":311,"_type":15,"_id":312,"_source":17,"_file":313,"_stem":314,"_extension":20},"/python/adding-to-lists","Adding to Lists","Learn various methods to add elements to Python lists including append, insert, extend, and concatenation techniques","adding-to-lists",33,"content:python:33.adding-to-lists.md","python/33.adding-to-lists.md","python/33.adding-to-lists",{"_path":316,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":317,"description":318,"slug":319,"parentId":270,"order":320,"_type":15,"_id":321,"_source":17,"_file":322,"_stem":323,"_extension":20},"/python/removing-from-lists","Removing from Lists","Learn different methods to remove and delete elements from Python lists including remove, pop, del, and clear","removing-from-lists",34,"content:python:34.removing-from-lists.md","python/34.removing-from-lists.md","python/34.removing-from-lists",{"_path":325,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":326,"description":327,"slug":328,"parentId":270,"order":329,"_type":15,"_id":330,"_source":17,"_file":331,"_stem":332,"_extension":20},"/python/looping-through-lists","Looping Through Lists","Learn different ways to iterate through Python lists using for loops, while loops, enumerate, and other iteration techniques","looping-through-lists",35,"content:python:35.looping-through-lists.md","python/35.looping-through-lists.md","python/35.looping-through-lists",{"_path":334,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":335,"description":336,"slug":337,"parentId":270,"order":338,"_type":15,"_id":339,"_source":17,"_file":340,"_stem":341,"_extension":20},"/python/list-shortcuts","List Shortcuts","Learn powerful Python list shortcuts including list comprehensions, slicing tricks, and built-in functions for efficient list operations","list-shortcuts",36,"content:python:36.list-shortcuts.md","python/36.list-shortcuts.md","python/36.list-shortcuts",{"_path":343,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":344,"description":345,"slug":346,"parentId":270,"order":347,"_type":15,"_id":348,"_source":17,"_file":349,"_stem":350,"_extension":20},"/python/organizing-lists","Organizing Lists","Learn how to sort, reverse, and organize Python lists using built-in methods and custom sorting techniques","organizing-lists",37,"content:python:37.organizing-lists.md","python/37.organizing-lists.md","python/37.organizing-lists",{"_path":352,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":353,"description":354,"slug":355,"parentId":270,"order":356,"_type":15,"_id":357,"_source":17,"_file":358,"_stem":359,"_extension":20},"/python/combining-lists","Combining Lists","Learn various techniques to combine, merge, and join Python lists including concatenation, zipping, and advanced merging strategies","combining-lists",38,"content:python:38.combining-lists.md","python/38.combining-lists.md","python/38.combining-lists",{"_path":361,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":362,"description":363,"slug":364,"parentId":270,"order":365,"_type":15,"_id":366,"_source":17,"_file":367,"_stem":368,"_extension":20},"/python/essential-list-tools","Essential List Tools","Master powerful built-in functions and advanced techniques for efficient Python list manipulation and data processing","essential-list-tools",39,"content:python:39.essential-list-tools.md","python/39.essential-list-tools.md","python/39.essential-list-tools",{"_path":370,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":371,"description":372,"slug":373,"order":374,"isParent":13,"icon":14,"_type":15,"_id":375,"_source":17,"_file":376,"_stem":377,"_extension":20,"children":378,"expanded":13},"/python/python-tuples","Python Tuples","Master Python tuples - immutable sequences perfect for storing related data that shouldn't change. Learn creation, access, and manipulation techniques.","python-tuples",40,"content:python:40.python-tuples.md","python/40.python-tuples.md","python/40.python-tuples",[379,388,397,406,415,424,433],{"_path":380,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":381,"description":382,"slug":383,"parentId":370,"order":384,"_type":15,"_id":385,"_source":17,"_file":386,"_stem":387,"_extension":20},"/python/creating-tuples","Creating Tuples","Learn different ways to create Python tuples, from basic syntax to advanced techniques. Master tuple initialization and understand when to use tuples.","creating-tuples",41,"content:python:41.creating-tuples.md","python/41.creating-tuples.md","python/41.creating-tuples",{"_path":389,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":390,"description":391,"slug":392,"parentId":370,"order":393,"_type":15,"_id":394,"_source":17,"_file":395,"_stem":396,"_extension":20},"/python/reading-tuple-data","Reading Tuple Data","Master accessing tuple elements through indexing, slicing, and searching. Learn efficient patterns for reading and working with tuple data.","reading-tuple-data",42,"content:python:42.reading-tuple-data.md","python/42.reading-tuple-data.md","python/42.reading-tuple-data",{"_path":398,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":399,"description":400,"slug":401,"parentId":370,"order":402,"_type":15,"_id":403,"_source":17,"_file":404,"_stem":405,"_extension":20},"/python/changing-tuples","Changing Tuples","Understand tuple immutability and learn techniques for working with unchangeable data. Master creating modified tuple versions and handling immutable constraints.","changing-tuples",43,"content:python:43.changing-tuples.md","python/43.changing-tuples.md","python/43.changing-tuples",{"_path":407,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":408,"description":409,"slug":410,"parentId":370,"order":411,"_type":15,"_id":412,"_source":17,"_file":413,"_stem":414,"_extension":20},"/python/tuple-unpacking","Tuple Unpacking","Master tuple unpacking for elegant variable assignment, function returns, and data extraction. Learn Python's powerful unpacking syntax and patterns.","tuple-unpacking",44,"content:python:44.tuple-unpacking.md","python/44.tuple-unpacking.md","python/44.tuple-unpacking",{"_path":416,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":417,"description":418,"slug":419,"parentId":370,"order":420,"_type":15,"_id":421,"_source":17,"_file":422,"_stem":423,"_extension":20},"/python/iterating-tuples","Iterating Tuples","Master tuple iteration techniques for processing sequence data. Learn basic loops, enumerate, nested iteration, and advanced patterns for efficient data processing.","iterating-tuples",45,"content:python:45.iterating-tuples.md","python/45.iterating-tuples.md","python/45.iterating-tuples",{"_path":425,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":426,"description":427,"slug":428,"parentId":370,"order":429,"_type":15,"_id":430,"_source":17,"_file":431,"_stem":432,"_extension":20},"/python/merging-tuples","Merging Tuples","Learn techniques for combining and merging tuples to create larger data structures. Master concatenation, joining multiple tuples, and advanced merging patterns.","merging-tuples",46,"content:python:46.merging-tuples.md","python/46.merging-tuples.md","python/46.merging-tuples",{"_path":434,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":435,"description":436,"slug":437,"parentId":370,"order":438,"_type":15,"_id":439,"_source":17,"_file":440,"_stem":441,"_extension":20},"/python/tuple-operations","Tuple Operations","Master comprehensive tuple operations including built-in functions, mathematical operations, comparisons, and advanced techniques for efficient tuple manipulation.","tuple-operations",47,"content:python:47.tuple-operations.md","python/47.tuple-operations.md","python/47.tuple-operations",{"_path":443,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":444,"description":445,"slug":446,"order":447,"isParent":13,"icon":14,"_type":15,"_id":448,"_source":17,"_file":449,"_stem":450,"_extension":20,"children":451,"expanded":13},"/python/python-sets","Python Sets","Discover Python sets - unique collections that automatically eliminate duplicates and provide powerful mathematical operations for data filtering and analysis.","python-sets",48,"content:python:48.python-sets.md","python/48.python-sets.md","python/48.python-sets",[452,461,470,479,488,497,506],{"_path":453,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":454,"description":455,"slug":456,"parentId":443,"order":457,"_type":15,"_id":458,"_source":17,"_file":459,"_stem":460,"_extension":20},"/python/creating-sets","Creating Sets","Learn multiple ways to create sets in Python including literal syntax, set() function, and set comprehensions. Master set creation from different data sources.","creating-sets",49,"content:python:49.creating-sets.md","python/49.creating-sets.md","python/49.creating-sets",{"_path":462,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":463,"description":464,"slug":465,"parentId":443,"order":466,"_type":15,"_id":467,"_source":17,"_file":468,"_stem":469,"_extension":20},"/python/reading-set-data","Reading Set Data","Learn how to access and examine set data in Python including membership testing, iteration, size checking, and converting sets to other data types.","reading-set-data",50,"content:python:50.reading-set-data.md","python/50.reading-set-data.md","python/50.reading-set-data",{"_path":471,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":472,"description":473,"slug":474,"parentId":443,"order":475,"_type":15,"_id":476,"_source":17,"_file":477,"_stem":478,"_extension":20},"/python/adding-to-sets","Adding to Sets","Learn how to add elements to sets in Python using add(), update(), and union operations. Master growing sets dynamically with single items and multiple elements.","adding-to-sets",51,"content:python:51.adding-to-sets.md","python/51.adding-to-sets.md","python/51.adding-to-sets",{"_path":480,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":481,"description":482,"slug":483,"parentId":443,"order":484,"_type":15,"_id":485,"_source":17,"_file":486,"_stem":487,"_extension":20},"/python/removing-from-sets","Removing from Sets","Learn how to remove elements from Python sets using different methods like remove(), discard(), pop(), and clear()","removing-from-sets",52,"content:python:52.removing-from-sets.md","python/52.removing-from-sets.md","python/52.removing-from-sets",{"_path":489,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":490,"description":491,"slug":492,"parentId":443,"order":493,"_type":15,"_id":494,"_source":17,"_file":495,"_stem":496,"_extension":20},"/python/iterating-sets","Iterating Sets","Learn different ways to iterate through Python sets using for loops, comprehensions, and built-in functions","iterating-sets",53,"content:python:53.iterating-sets.md","python/53.iterating-sets.md","python/53.iterating-sets",{"_path":498,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":499,"description":500,"slug":501,"parentId":443,"order":502,"_type":15,"_id":503,"_source":17,"_file":504,"_stem":505,"_extension":20},"/python/combining-sets","Combining Sets","Learn how to combine Python sets using union, intersection, difference, and other set operations","combining-sets",54,"content:python:54.combining-sets.md","python/54.combining-sets.md","python/54.combining-sets",{"_path":507,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":509,"slug":510,"parentId":443,"order":511,"_type":15,"_id":512,"_source":17,"_file":513,"_stem":514,"_extension":20},"/python/set-operations","Set Operations","Learn advanced Python set operations including comparisons, subsets, supersets, and mathematical set relationships","set-operations",55,"content:python:55.set-operations.md","python/55.set-operations.md","python/55.set-operations",{"_path":516,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":517,"description":518,"slug":519,"order":520,"isParent":13,"icon":14,"_type":15,"_id":521,"_source":17,"_file":522,"_stem":523,"_extension":20,"children":524,"expanded":13},"/python/python-dictionaries","Python Dictionaries","Learn about Python dictionaries - key-value data structures for storing and organizing related information","python-dictionaries",56,"content:python:56.python-dictionaries.md","python/56.python-dictionaries.md","python/56.python-dictionaries",[525,534,543,552,561,570,579,588,597],{"_path":526,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":527,"description":528,"slug":529,"parentId":516,"order":530,"_type":15,"_id":531,"_source":17,"_file":532,"_stem":533,"_extension":20},"/python/creating-dictionaries","Creating Dictionaries","Learn different methods to create Python dictionaries using literals, constructors, and comprehensions","creating-dictionaries",57,"content:python:57.creating-dictionaries.md","python/57.creating-dictionaries.md","python/57.creating-dictionaries",{"_path":535,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":536,"description":537,"slug":538,"parentId":516,"order":539,"_type":15,"_id":540,"_source":17,"_file":541,"_stem":542,"_extension":20},"/python/getting-dictionary-values","Getting Dictionary Values","Learn safe and efficient methods to retrieve data from Python dictionaries using various access techniques","getting-dictionary-values",58,"content:python:58.getting-dictionary-values.md","python/58.getting-dictionary-values.md","python/58.getting-dictionary-values",{"_path":544,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":545,"description":546,"slug":547,"parentId":516,"order":548,"_type":15,"_id":549,"_source":17,"_file":550,"_stem":551,"_extension":20},"/python/updating-dictionaries","Updating Dictionaries","Learn how to modify and maintain Python dictionary data using various update methods and techniques","updating-dictionaries",59,"content:python:59.updating-dictionaries.md","python/59.updating-dictionaries.md","python/59.updating-dictionaries",{"_path":553,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":554,"description":555,"slug":556,"parentId":516,"order":557,"_type":15,"_id":558,"_source":17,"_file":559,"_stem":560,"_extension":20},"/python/adding-dictionary-items","Adding Dictionary Items","Learn effective techniques for adding new items to Python dictionaries with various methods and best practices","adding-dictionary-items",60,"content:python:60.adding-dictionary-items.md","python/60.adding-dictionary-items.md","python/60.adding-dictionary-items",{"_path":562,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":563,"description":564,"slug":565,"parentId":516,"order":566,"_type":15,"_id":567,"_source":17,"_file":568,"_stem":569,"_extension":20},"/python/deleting-dictionary-items","Deleting Dictionary Items","Master safe and efficient techniques for removing items from Python dictionaries with various methods and error handling","deleting-dictionary-items",61,"content:python:61.deleting-dictionary-items.md","python/61.deleting-dictionary-items.md","python/61.deleting-dictionary-items",{"_path":571,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":572,"description":573,"slug":574,"parentId":516,"order":575,"_type":15,"_id":576,"_source":17,"_file":577,"_stem":578,"_extension":20},"/python/looping-dictionaries","Looping Dictionaries","Learn efficient techniques for iterating through Python dictionaries using keys, values, and items","looping-dictionaries",62,"content:python:62.looping-dictionaries.md","python/62.looping-dictionaries.md","python/62.looping-dictionaries",{"_path":580,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":581,"description":582,"slug":583,"parentId":516,"order":584,"_type":15,"_id":585,"_source":17,"_file":586,"_stem":587,"_extension":20},"/python/dictionary-copies","Dictionary Copies","Learn safe techniques for duplicating Python dictionaries using shallow and deep copy methods","dictionary-copies",63,"content:python:63.dictionary-copies.md","python/63.dictionary-copies.md","python/63.dictionary-copies",{"_path":589,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":590,"description":591,"slug":592,"parentId":516,"order":593,"_type":15,"_id":594,"_source":17,"_file":595,"_stem":596,"_extension":20},"/python/multi-level-dictionaries","Multi-level Dictionaries","Master working with nested Python dictionaries for complex data structures and hierarchical information","multi-level-dictionaries",64,"content:python:64.multi-level-dictionaries.md","python/64.multi-level-dictionaries.md","python/64.multi-level-dictionaries",{"_path":598,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":599,"description":600,"slug":601,"parentId":516,"order":602,"_type":15,"_id":603,"_source":17,"_file":604,"_stem":605,"_extension":20},"/python/dictionary-tools","Dictionary Tools","Explore powerful built-in functions and advanced techniques for efficient Python dictionary manipulation and analysis","dictionary-tools",65,"content:python:65.dictionary-tools.md","python/65.dictionary-tools.md","python/65.dictionary-tools",{"_path":607,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":608,"description":609,"slug":610,"order":611,"isParent":13,"icon":14,"_type":15,"_id":612,"_source":17,"_file":613,"_stem":614,"_extension":20,"children":615},"/python/python-functions","Python Functions","Learn how to create and use Python functions to organize code into reusable, modular components that make programs more efficient and maintainable","python-functions",66,"content:python:66.python-functions.md","python/66.python-functions.md","python/66.python-functions",[616,625,634,643,652,661],{"_path":617,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":618,"description":619,"slug":620,"parentId":607,"order":621,"_type":15,"_id":622,"_source":17,"_file":623,"_stem":624,"_extension":20},"/python/function-basics","Function Basics","Learn the fundamentals of creating and using Python functions to organize code into reusable, modular components","function-basics",67,"content:python:67.function-basics.md","python/67.function-basics.md","python/67.function-basics",{"_path":626,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":627,"description":628,"slug":629,"parentId":607,"order":630,"_type":15,"_id":631,"_source":17,"_file":632,"_stem":633,"_extension":20},"/python/function-parameters","Function Parameters","Master different types of Python function parameters including positional, keyword, default, and variable-length arguments","function-parameters",68,"content:python:68.function-parameters.md","python/68.function-parameters.md","python/68.function-parameters",{"_path":635,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":636,"description":637,"slug":638,"parentId":607,"order":639,"_type":15,"_id":640,"_source":17,"_file":641,"_stem":642,"_extension":20},"/python/returning-values","Returning Values","Learn different ways Python functions return data including single values, multiple values, and conditional returns","returning-values",69,"content:python:69.returning-values.md","python/69.returning-values.md","python/69.returning-values",{"_path":644,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":645,"description":646,"slug":647,"parentId":607,"order":648,"_type":15,"_id":649,"_source":17,"_file":650,"_stem":651,"_extension":20},"/python/variable-scope","Variable Scope","Understand Python variable scope including local, global, and nonlocal variables and how they affect function behavior","variable-scope",70,"content:python:70.variable-scope.md","python/70.variable-scope.md","python/70.variable-scope",{"_path":653,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":654,"description":655,"slug":656,"parentId":607,"order":657,"_type":15,"_id":658,"_source":17,"_file":659,"_stem":660,"_extension":20},"/python/anonymous-functions","Anonymous Functions","Learn to create and use Python lambda functions for concise, inline function definitions and functional programming patterns","anonymous-functions",71,"content:python:71.anonymous-functions.md","python/71.anonymous-functions.md","python/71.anonymous-functions",{"_path":662,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":663,"description":664,"slug":665,"parentId":607,"order":666,"_type":15,"_id":667,"_source":17,"_file":668,"_stem":669,"_extension":20},"/python/function-recursion","Function Recursion","Master recursive functions in Python by learning how functions can call themselves to solve complex problems with elegant, mathematical solutions","function-recursion",72,"content:python:72.function-recursion.md","python/72.function-recursion.md","python/72.function-recursion",{"_path":671,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":672,"description":673,"slug":674,"order":675,"isParent":13,"icon":14,"_type":15,"_id":676,"_source":17,"_file":677,"_stem":678,"_extension":20,"children":679},"/python/object-programming","Object Programming","Learn object-oriented programming (OOP) in Python - create classes, objects, and methods to build organized, reusable code","object-programming",73,"content:python:73.object-programming.md","python/73.object-programming.md","python/73.object-programming",[680,689,698,707,716,725],{"_path":681,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":682,"description":683,"slug":684,"parentId":671,"order":685,"_type":15,"_id":686,"_source":17,"_file":687,"_stem":688,"_extension":20},"/python/classes-and-objects","Classes and Objects","Learn to create Python classes and objects - the foundation of object-oriented programming for building reusable, organized code","classes-and-objects",74,"content:python:74.classes-and-objects.md","python/74.classes-and-objects.md","python/74.classes-and-objects",{"_path":690,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":691,"description":692,"slug":693,"parentId":671,"order":694,"_type":15,"_id":695,"_source":17,"_file":696,"_stem":697,"_extension":20},"/python/object-methods","Object Methods","Master object methods in Python - learn to define behaviors, work with parameters, and create interactive objects that respond to actions","object-methods",75,"content:python:75.object-methods.md","python/75.object-methods.md","python/75.object-methods",{"_path":699,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":700,"description":701,"slug":702,"parentId":671,"order":703,"_type":15,"_id":704,"_source":17,"_file":705,"_stem":706,"_extension":20},"/python/class-inheritance","Class Inheritance","Learn Python class inheritance - create specialized classes that build upon existing functionality while adding new features and behaviors","class-inheritance",76,"content:python:76.class-inheritance.md","python/76.class-inheritance.md","python/76.class-inheritance",{"_path":708,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":709,"description":710,"slug":711,"parentId":671,"order":712,"_type":15,"_id":713,"_source":17,"_file":714,"_stem":715,"_extension":20},"/python/method-overriding","Method Overriding","Master method overriding in Python - learn to customize inherited methods, use super(), and create specialized behaviors while maintaining inheritance benefits","method-overriding",77,"content:python:77.method-overriding.md","python/77.method-overriding.md","python/77.method-overriding",{"_path":717,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":718,"description":719,"slug":720,"parentId":671,"order":721,"_type":15,"_id":722,"_source":17,"_file":723,"_stem":724,"_extension":20},"/python/variable-visibility","Variable Visibility","Master Python variable visibility - learn public, protected, and private attributes to control access and create well-encapsulated classes","variable-visibility",78,"content:python:78.variable-visibility.md","python/78.variable-visibility.md","python/78.variable-visibility",{"_path":726,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":727,"description":728,"slug":729,"parentId":671,"order":730,"_type":15,"_id":731,"_source":17,"_file":732,"_stem":733,"_extension":20},"/python/special-methods","Special Methods","Master Python special methods (magic methods) - learn to implement __str__, __len__, __eq__ and more to make your classes work seamlessly with Python's built-in functions","special-methods",79,"content:python:79.special-methods.md","python/79.special-methods.md","python/79.special-methods",{"_path":735,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":736,"description":737,"slug":738,"order":739,"isParent":13,"icon":14,"_type":15,"_id":740,"_source":17,"_file":741,"_stem":742,"_extension":20,"children":743},"/python/advanced-concepts","Advanced Concepts","Master advanced Python programming concepts - work with dates, mathematics, JSON data, pattern matching, and more sophisticated programming techniques","advanced-concepts",80,"content:python:80.advanced-concepts.md","python/80.advanced-concepts.md","python/80.advanced-concepts",[744,753,762,771,780,789,798],{"_path":745,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":746,"description":747,"slug":748,"parentId":735,"order":749,"_type":15,"_id":750,"_source":17,"_file":751,"_stem":752,"_extension":20},"/python/working-with-dates","Working with Dates","Master Python date and time handling - work with datetime objects, format dates, calculate durations, and build time-aware applications","working-with-dates",81,"content:python:81.working-with-dates.md","python/81.working-with-dates.md","python/81.working-with-dates",{"_path":754,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":755,"description":756,"slug":757,"parentId":735,"order":758,"_type":15,"_id":759,"_source":17,"_file":760,"_stem":761,"_extension":20},"/python/mathematical-operations","Mathematical Operations","Master Python mathematical computing - use math functions, perform statistical calculations, and implement scientific computing for data analysis and problem-solving","mathematical-operations",82,"content:python:82.mathematical-operations.md","python/82.mathematical-operations.md","python/82.mathematical-operations",{"_path":763,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":764,"description":765,"slug":766,"parentId":735,"order":767,"_type":15,"_id":768,"_source":17,"_file":769,"_stem":770,"_extension":20},"/python/json-data","JSON Data","Master JSON data handling in Python - serialize and deserialize data, work with APIs, manage configuration files, and exchange data between applications","json-data",83,"content:python:83.json-data.md","python/83.json-data.md","python/83.json-data",{"_path":772,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":773,"description":774,"slug":775,"parentId":735,"order":776,"_type":15,"_id":777,"_source":17,"_file":778,"_stem":779,"_extension":20},"/python/package-management","Package Management","Master Python package management with pip and virtual environments - install libraries, manage dependencies, create isolated environments, and distribute packages professionally","package-management",85,"content:python:85.package-management.md","python/85.package-management.md","python/85.package-management",{"_path":781,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":782,"description":783,"slug":784,"parentId":735,"order":785,"_type":15,"_id":786,"_source":17,"_file":787,"_stem":788,"_extension":20},"/python/error-handling","Error Handling","Master Python error handling with try/except blocks, exception types, custom exceptions, debugging techniques, and best practices for robust application development","error-handling",86,"content:python:86.error-handling.md","python/86.error-handling.md","python/86.error-handling",{"_path":790,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":791,"description":792,"slug":793,"parentId":735,"order":794,"_type":15,"_id":795,"_source":17,"_file":796,"_stem":797,"_extension":20},"/python/getting-user-input","Getting User Input","Master user input handling in Python with input validation, data type conversion, interactive programs, and command-line interfaces for engaging user experiences","getting-user-input",87,"content:python:87.getting-user-input.md","python/87.getting-user-input.md","python/87.getting-user-input",{"_path":799,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":800,"description":801,"slug":802,"parentId":735,"order":803,"_type":15,"_id":804,"_source":17,"_file":805,"_stem":806,"_extension":20},"/python/text-formatting","Text Formatting","Master Python text formatting with f-strings, format methods, alignment, number formatting, and advanced techniques for professional, readable output","text-formatting",88,"content:python:88.text-formatting.md","python/88.text-formatting.md","python/88.text-formatting",{"_path":808,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":809,"description":810,"slug":811,"order":812,"isParent":13,"icon":14,"_type":15,"_id":813,"_source":17,"_file":814,"_stem":815,"_extension":20,"children":816},"/python/file-operations","File Operations","Master Python file handling with reading, writing, and managing files for data persistence and real-world applications","file-operations",89,"content:python:89.file-operations.md","python/89.file-operations.md","python/89.file-operations",[817,826,835,844],{"_path":818,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":819,"description":820,"slug":821,"parentId":808,"order":822,"_type":15,"_id":823,"_source":17,"_file":824,"_stem":825,"_extension":20},"/python/file-basics","File Basics","Learn fundamental Python file operations including opening files, understanding file modes, using context managers, and basic file handling concepts","file-basics",90,"content:python:90.file-basics.md","python/90.file-basics.md","python/90.file-basics",{"_path":827,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":828,"description":829,"slug":830,"parentId":808,"order":831,"_type":15,"_id":832,"_source":17,"_file":833,"_stem":834,"_extension":20},"/python/reading-files","Reading Files","Master Python file reading techniques including reading entire files, line-by-line processing, and handling different file formats for efficient data processing","reading-files",91,"content:python:91.reading-files.md","python/91.reading-files.md","python/91.reading-files",{"_path":836,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":837,"description":838,"slug":839,"parentId":808,"order":840,"_type":15,"_id":841,"_source":17,"_file":842,"_stem":843,"_extension":20},"/python/writing-files","Writing Files","Learn Python file writing techniques including creating new files, appending content, updating existing files, and saving different data formats safely","writing-files",92,"content:python:92.writing-files.md","python/92.writing-files.md","python/92.writing-files",{"_path":845,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":846,"description":847,"slug":848,"parentId":808,"order":849,"_type":15,"_id":850,"_source":17,"_file":851,"_stem":852,"_extension":20},"/python/file-management","File Management","Learn Python file management techniques including checking file properties, organizing files, directory operations, and implementing file system maintenance tasks","file-management",93,"content:python:93.file-management.md","python/93.file-management.md","python/93.file-management",{"_path":854,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":855,"description":856,"slug":857,"order":858,"isParent":13,"icon":14,"_type":15,"_id":859,"_source":17,"_file":860,"_stem":861,"_extension":20,"children":862},"/python/code-organization","Code Organization","Master Python code organization with modules, built-in libraries, and path management for creating maintainable and reusable applications","code-organization",94,"content:python:94.code-organization.md","python/94.code-organization.md","python/94.code-organization",[863,872,881],{"_path":864,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":865,"description":866,"slug":867,"parentId":854,"order":868,"_type":15,"_id":869,"_source":17,"_file":870,"_stem":871,"_extension":20},"/python/creating-modules","Creating Modules","Learn how to create custom Python modules, organize functions and classes, write reusable code components, and design effective module structures","creating-modules",95,"content:python:95.creating-modules.md","python/95.creating-modules.md","python/95.creating-modules",{"_path":873,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":874,"description":875,"slug":876,"parentId":854,"order":877,"_type":15,"_id":878,"_source":17,"_file":879,"_stem":880,"_extension":20},"/python/using-built-in-modules","Using Built-in Modules","Discover Python's extensive standard library and learn to effectively use built-in modules for common programming tasks, data processing, and system operations","using-built-in-modules",96,"content:python:96.using-built-in-modules.md","python/96.using-built-in-modules.md","python/96.using-built-in-modules",{"_path":882,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":883,"description":884,"slug":885,"parentId":854,"order":886,"_type":15,"_id":887,"_source":17,"_file":888,"_stem":889,"_extension":20},"/python/module-paths","Module Paths","Understand Python's module search system, manage import paths, work with packages, and organize larger projects with proper module path management","module-paths",97,"content:python:97.module-paths.md","python/97.module-paths.md","python/97.module-paths",{"_path":891,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":892,"description":893,"slug":894,"order":895,"isParent":13,"icon":14,"_type":15,"_id":896,"_source":17,"_file":897,"_stem":898,"_extension":20,"children":899,"expanded":13},"/python/reference-materials","Reference Materials","Comprehensive Python reference materials including reserved words, built-in functions, and operation guides for quick lookup and development support","reference-materials",98,"content:python:98.reference-materials.md","python/98.reference-materials.md","python/98.reference-materials",[900,909,918,927,936,945,953,961,970],{"_path":901,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":902,"description":903,"slug":904,"parentId":891,"order":905,"_type":15,"_id":906,"_source":17,"_file":907,"_stem":908,"_extension":20},"/python/reserved-words","Reserved Words","Complete reference of Python keywords and reserved words with descriptions, usage examples, and syntax guidelines","reserved-words",99,"content:python:99.reserved-words.md","python/99.reserved-words.md","python/99.reserved-words",{"_path":910,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":911,"description":912,"slug":913,"parentId":891,"order":914,"_type":15,"_id":915,"_source":17,"_file":916,"_stem":917,"_extension":20},"/python/built-in-functions","Built-in Functions","Comprehensive reference of Python's built-in functions with parameters, return values, and practical usage examples","built-in-functions",100,"content:python:100.built-in-functions.md","python/100.built-in-functions.md","python/100.built-in-functions",{"_path":919,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":920,"description":921,"slug":922,"parentId":891,"order":923,"_type":15,"_id":924,"_source":17,"_file":925,"_stem":926,"_extension":20},"/python/string-operations","String Operations","Complete reference of Python string methods, operations, and formatting techniques with examples and use cases","string-operations",101,"content:python:101.string-operations.md","python/101.string-operations.md","python/101.string-operations",{"_path":928,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":929,"description":930,"slug":931,"parentId":891,"order":932,"_type":15,"_id":933,"_source":17,"_file":934,"_stem":935,"_extension":20},"/python/list-operations","List Operations","Complete reference of Python list methods, operations, and manipulation techniques with examples and performance notes","list-operations",102,"content:python:102.list-operations.md","python/102.list-operations.md","python/102.list-operations",{"_path":937,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":938,"description":939,"slug":940,"parentId":891,"order":941,"_type":15,"_id":942,"_source":17,"_file":943,"_stem":944,"_extension":20},"/python/dictionary-operations","Dictionary Operations","Complete reference of Python dictionary methods, operations, and manipulation techniques with examples and use cases","dictionary-operations",103,"content:python:103.dictionary-operations.md","python/103.dictionary-operations.md","python/103.dictionary-operations",{"_path":946,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":435,"description":947,"slug":948,"parentId":891,"order":949,"_type":15,"_id":950,"_source":17,"_file":951,"_stem":952,"_extension":20},"/python/tuple-methods","Complete reference of Python tuple operations, methods, and techniques with examples and use cases","tuple-methods",104,"content:python:104.tuple-methods.md","python/104.tuple-methods.md","python/104.tuple-methods",{"_path":954,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":955,"slug":956,"parentId":891,"order":957,"_type":15,"_id":958,"_source":17,"_file":959,"_stem":960,"_extension":20},"/python/set-methods","Complete reference of Python set operations, methods, and mathematical set operations with examples and use cases","set-methods",105,"content:python:105.set-methods.md","python/105.set-methods.md","python/105.set-methods",{"_path":962,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":963,"description":964,"slug":965,"parentId":891,"order":966,"_type":15,"_id":967,"_source":17,"_file":968,"_stem":969,"_extension":20},"/python/file-operations-reference","File Operations Reference","Complete reference of Python file operations, modes, methods, and file handling techniques with examples","file-operations-reference",106,"content:python:106.file-operations-reference.md","python/106.file-operations-reference.md","python/106.file-operations-reference",{"_path":971,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":972,"description":973,"slug":974,"parentId":891,"order":975,"_type":15,"_id":976,"_source":17,"_file":977,"_stem":978,"_extension":20},"/python/error-types","Error Types","Complete reference of Python exception types, error handling patterns, and debugging techniques with examples","error-types",107,"content:python:107.error-types.md","python/107.error-types.md","python/107.error-types",{"_path":980,"_dir":8,"_draft":7,"_partial":7,"_locale":8,"title":981,"description":10,"slug":982,"order":983,"icon":14,"_type":15,"_id":984,"_source":17,"_file":985,"_stem":986,"_extension":20},"/python","Introduction","python-tutorial",0,"content:python:index.md","python/index.md","python/index",[525],{"_path":526,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":527,"description":528,"slug":529,"parentId":516,"order":530,"body":989,"_type":15,"_id":531,"_source":17,"_file":532,"_stem":533,"_extension":20},{"type":990,"children":991,"toc":4823},"root",[992,1001,1007,1188,1195,1200,1470,1518,1524,1537,1544,1549,1778,1784,1789,2073,2079,2084,2270,2276,2281,2287,2292,2545,2551,2556,2909,2915,2927,3121,3157,3163,3168,3404,3410,3603,3609,3615,3620,3859,3865,3870,4211,4216,4229,4436,4442,4777,4783,4788,4795,4801,4806,4817],{"type":993,"tag":994,"props":995,"children":997},"element","h1",{"id":996},"️-creating-dictionaries",[998],{"type":999,"value":1000},"text","🏗️ Creating Dictionaries",{"type":993,"tag":1002,"props":1003,"children":1004},"p",{},[1005],{"type":999,"value":1006},"Python provides multiple ways to create dictionaries, each suited for different scenarios and data sources. Understanding these methods helps you choose the most efficient approach for your specific needs.",{"type":993,"tag":1008,"props":1009,"children":1010},"code-try",{},[1011],{"type":993,"tag":1012,"props":1013,"children":1016},"pre",{"className":1014,"code":1015,"language":6,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Basic dictionary creation\nperson = {'name': 'John', 'age': 25, 'city': 'New York'}\nprint(\"Person info:\", person)\n\n# Empty dictionary\nempty_dict = {}\nprint(\"Empty dictionary:\", empty_dict)\n",[1017],{"type":993,"tag":1018,"props":1019,"children":1020},"code",{"__ignoreMap":8},[1021,1032,1111,1134,1142,1150,1167],{"type":993,"tag":1022,"props":1023,"children":1025},"span",{"class":1024,"line":12},"line",[1026],{"type":993,"tag":1022,"props":1027,"children":1029},{"style":1028},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[1030],{"type":999,"value":1031},"# Basic dictionary creation\n",{"type":993,"tag":1022,"props":1033,"children":1034},{"class":1024,"line":27},[1035,1041,1047,1052,1058,1063,1068,1073,1078,1082,1088,1092,1097,1101,1106],{"type":993,"tag":1022,"props":1036,"children":1038},{"style":1037},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[1039],{"type":999,"value":1040},"person ",{"type":993,"tag":1022,"props":1042,"children":1044},{"style":1043},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[1045],{"type":999,"value":1046},"=",{"type":993,"tag":1022,"props":1048,"children":1049},{"style":1037},[1050],{"type":999,"value":1051}," {",{"type":993,"tag":1022,"props":1053,"children":1055},{"style":1054},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[1056],{"type":999,"value":1057},"'name'",{"type":993,"tag":1022,"props":1059,"children":1060},{"style":1037},[1061],{"type":999,"value":1062},": ",{"type":993,"tag":1022,"props":1064,"children":1065},{"style":1054},[1066],{"type":999,"value":1067},"'John'",{"type":993,"tag":1022,"props":1069,"children":1070},{"style":1037},[1071],{"type":999,"value":1072},", ",{"type":993,"tag":1022,"props":1074,"children":1075},{"style":1054},[1076],{"type":999,"value":1077},"'age'",{"type":993,"tag":1022,"props":1079,"children":1080},{"style":1037},[1081],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1083,"children":1085},{"style":1084},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1086],{"type":999,"value":1087},"25",{"type":993,"tag":1022,"props":1089,"children":1090},{"style":1037},[1091],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1093,"children":1094},{"style":1054},[1095],{"type":999,"value":1096},"'city'",{"type":993,"tag":1022,"props":1098,"children":1099},{"style":1037},[1100],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1102,"children":1103},{"style":1054},[1104],{"type":999,"value":1105},"'New York'",{"type":993,"tag":1022,"props":1107,"children":1108},{"style":1037},[1109],{"type":999,"value":1110},"}\n",{"type":993,"tag":1022,"props":1112,"children":1113},{"class":1024,"line":36},[1114,1119,1124,1129],{"type":993,"tag":1022,"props":1115,"children":1116},{"style":1084},[1117],{"type":999,"value":1118},"print",{"type":993,"tag":1022,"props":1120,"children":1121},{"style":1037},[1122],{"type":999,"value":1123},"(",{"type":993,"tag":1022,"props":1125,"children":1126},{"style":1054},[1127],{"type":999,"value":1128},"\"Person info:\"",{"type":993,"tag":1022,"props":1130,"children":1131},{"style":1037},[1132],{"type":999,"value":1133},", person)\n",{"type":993,"tag":1022,"props":1135,"children":1136},{"class":1024,"line":45},[1137],{"type":993,"tag":1022,"props":1138,"children":1139},{"emptyLinePlaceholder":13},[1140],{"type":999,"value":1141},"\n",{"type":993,"tag":1022,"props":1143,"children":1144},{"class":1024,"line":54},[1145],{"type":993,"tag":1022,"props":1146,"children":1147},{"style":1028},[1148],{"type":999,"value":1149},"# Empty dictionary\n",{"type":993,"tag":1022,"props":1151,"children":1152},{"class":1024,"line":63},[1153,1158,1162],{"type":993,"tag":1022,"props":1154,"children":1155},{"style":1037},[1156],{"type":999,"value":1157},"empty_dict ",{"type":993,"tag":1022,"props":1159,"children":1160},{"style":1043},[1161],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1163,"children":1164},{"style":1037},[1165],{"type":999,"value":1166}," {}\n",{"type":993,"tag":1022,"props":1168,"children":1169},{"class":1024,"line":72},[1170,1174,1178,1183],{"type":993,"tag":1022,"props":1171,"children":1172},{"style":1084},[1173],{"type":999,"value":1118},{"type":993,"tag":1022,"props":1175,"children":1176},{"style":1037},[1177],{"type":999,"value":1123},{"type":993,"tag":1022,"props":1179,"children":1180},{"style":1054},[1181],{"type":999,"value":1182},"\"Empty dictionary:\"",{"type":993,"tag":1022,"props":1184,"children":1185},{"style":1037},[1186],{"type":999,"value":1187},", empty_dict)\n",{"type":993,"tag":1189,"props":1190,"children":1192},"h2",{"id":1191},"dictionary-literal-syntax",[1193],{"type":999,"value":1194},"🎯 Dictionary Literal Syntax",{"type":993,"tag":1002,"props":1196,"children":1197},{},[1198],{"type":999,"value":1199},"Dictionary literals use curly braces with key-value pairs separated by colons. This direct syntax provides the most readable and common way to create dictionaries.",{"type":993,"tag":1008,"props":1201,"children":1202},{},[1203],{"type":993,"tag":1012,"props":1204,"children":1206},{"className":1014,"code":1205,"language":6,"meta":8,"style":8},"# Simple dictionary\ncolors = {'red': '#FF0000', 'green': '#00FF00', 'blue': '#0000FF'}\nprint(\"Colors:\", colors)\n\n# Mixed data types\nstudent = {\n    'name': 'Alice',\n    'age': 20,\n    'grades': [85, 92, 78],\n    'enrolled': True\n}\nprint(\"Student:\", student)\n",[1207],{"type":993,"tag":1018,"props":1208,"children":1209},{"__ignoreMap":8},[1210,1218,1288,1309,1316,1324,1341,1363,1384,1425,1442,1449],{"type":993,"tag":1022,"props":1211,"children":1212},{"class":1024,"line":12},[1213],{"type":993,"tag":1022,"props":1214,"children":1215},{"style":1028},[1216],{"type":999,"value":1217},"# Simple dictionary\n",{"type":993,"tag":1022,"props":1219,"children":1220},{"class":1024,"line":27},[1221,1226,1230,1234,1239,1243,1248,1252,1257,1261,1266,1270,1275,1279,1284],{"type":993,"tag":1022,"props":1222,"children":1223},{"style":1037},[1224],{"type":999,"value":1225},"colors ",{"type":993,"tag":1022,"props":1227,"children":1228},{"style":1043},[1229],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1231,"children":1232},{"style":1037},[1233],{"type":999,"value":1051},{"type":993,"tag":1022,"props":1235,"children":1236},{"style":1054},[1237],{"type":999,"value":1238},"'red'",{"type":993,"tag":1022,"props":1240,"children":1241},{"style":1037},[1242],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1244,"children":1245},{"style":1054},[1246],{"type":999,"value":1247},"'#FF0000'",{"type":993,"tag":1022,"props":1249,"children":1250},{"style":1037},[1251],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1253,"children":1254},{"style":1054},[1255],{"type":999,"value":1256},"'green'",{"type":993,"tag":1022,"props":1258,"children":1259},{"style":1037},[1260],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1262,"children":1263},{"style":1054},[1264],{"type":999,"value":1265},"'#00FF00'",{"type":993,"tag":1022,"props":1267,"children":1268},{"style":1037},[1269],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1271,"children":1272},{"style":1054},[1273],{"type":999,"value":1274},"'blue'",{"type":993,"tag":1022,"props":1276,"children":1277},{"style":1037},[1278],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1280,"children":1281},{"style":1054},[1282],{"type":999,"value":1283},"'#0000FF'",{"type":993,"tag":1022,"props":1285,"children":1286},{"style":1037},[1287],{"type":999,"value":1110},{"type":993,"tag":1022,"props":1289,"children":1290},{"class":1024,"line":36},[1291,1295,1299,1304],{"type":993,"tag":1022,"props":1292,"children":1293},{"style":1084},[1294],{"type":999,"value":1118},{"type":993,"tag":1022,"props":1296,"children":1297},{"style":1037},[1298],{"type":999,"value":1123},{"type":993,"tag":1022,"props":1300,"children":1301},{"style":1054},[1302],{"type":999,"value":1303},"\"Colors:\"",{"type":993,"tag":1022,"props":1305,"children":1306},{"style":1037},[1307],{"type":999,"value":1308},", colors)\n",{"type":993,"tag":1022,"props":1310,"children":1311},{"class":1024,"line":45},[1312],{"type":993,"tag":1022,"props":1313,"children":1314},{"emptyLinePlaceholder":13},[1315],{"type":999,"value":1141},{"type":993,"tag":1022,"props":1317,"children":1318},{"class":1024,"line":54},[1319],{"type":993,"tag":1022,"props":1320,"children":1321},{"style":1028},[1322],{"type":999,"value":1323},"# Mixed data types\n",{"type":993,"tag":1022,"props":1325,"children":1326},{"class":1024,"line":63},[1327,1332,1336],{"type":993,"tag":1022,"props":1328,"children":1329},{"style":1037},[1330],{"type":999,"value":1331},"student ",{"type":993,"tag":1022,"props":1333,"children":1334},{"style":1043},[1335],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1337,"children":1338},{"style":1037},[1339],{"type":999,"value":1340}," {\n",{"type":993,"tag":1022,"props":1342,"children":1343},{"class":1024,"line":72},[1344,1349,1353,1358],{"type":993,"tag":1022,"props":1345,"children":1346},{"style":1054},[1347],{"type":999,"value":1348},"    'name'",{"type":993,"tag":1022,"props":1350,"children":1351},{"style":1037},[1352],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1354,"children":1355},{"style":1054},[1356],{"type":999,"value":1357},"'Alice'",{"type":993,"tag":1022,"props":1359,"children":1360},{"style":1037},[1361],{"type":999,"value":1362},",\n",{"type":993,"tag":1022,"props":1364,"children":1365},{"class":1024,"line":81},[1366,1371,1375,1380],{"type":993,"tag":1022,"props":1367,"children":1368},{"style":1054},[1369],{"type":999,"value":1370},"    'age'",{"type":993,"tag":1022,"props":1372,"children":1373},{"style":1037},[1374],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1376,"children":1377},{"style":1084},[1378],{"type":999,"value":1379},"20",{"type":993,"tag":1022,"props":1381,"children":1382},{"style":1037},[1383],{"type":999,"value":1362},{"type":993,"tag":1022,"props":1385,"children":1386},{"class":1024,"line":91},[1387,1392,1397,1402,1406,1411,1415,1420],{"type":993,"tag":1022,"props":1388,"children":1389},{"style":1054},[1390],{"type":999,"value":1391},"    'grades'",{"type":993,"tag":1022,"props":1393,"children":1394},{"style":1037},[1395],{"type":999,"value":1396},": [",{"type":993,"tag":1022,"props":1398,"children":1399},{"style":1084},[1400],{"type":999,"value":1401},"85",{"type":993,"tag":1022,"props":1403,"children":1404},{"style":1037},[1405],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1407,"children":1408},{"style":1084},[1409],{"type":999,"value":1410},"92",{"type":993,"tag":1022,"props":1412,"children":1413},{"style":1037},[1414],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1416,"children":1417},{"style":1084},[1418],{"type":999,"value":1419},"78",{"type":993,"tag":1022,"props":1421,"children":1422},{"style":1037},[1423],{"type":999,"value":1424},"],\n",{"type":993,"tag":1022,"props":1426,"children":1427},{"class":1024,"line":100},[1428,1433,1437],{"type":993,"tag":1022,"props":1429,"children":1430},{"style":1054},[1431],{"type":999,"value":1432},"    'enrolled'",{"type":993,"tag":1022,"props":1434,"children":1435},{"style":1037},[1436],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1438,"children":1439},{"style":1084},[1440],{"type":999,"value":1441},"True\n",{"type":993,"tag":1022,"props":1443,"children":1444},{"class":1024,"line":109},[1445],{"type":993,"tag":1022,"props":1446,"children":1447},{"style":1037},[1448],{"type":999,"value":1110},{"type":993,"tag":1022,"props":1450,"children":1451},{"class":1024,"line":118},[1452,1456,1460,1465],{"type":993,"tag":1022,"props":1453,"children":1454},{"style":1084},[1455],{"type":999,"value":1118},{"type":993,"tag":1022,"props":1457,"children":1458},{"style":1037},[1459],{"type":999,"value":1123},{"type":993,"tag":1022,"props":1461,"children":1462},{"style":1054},[1463],{"type":999,"value":1464},"\"Student:\"",{"type":993,"tag":1022,"props":1466,"children":1467},{"style":1037},[1468],{"type":999,"value":1469},", student)\n",{"type":993,"tag":1471,"props":1472,"children":1476},"info-box",{"emoji":1473,"title":1474,"type":1475},"📝","Literal Syntax Rules","info",[1477,1488,1498,1508],{"type":993,"tag":1002,"props":1478,"children":1479},{},[1480,1486],{"type":993,"tag":1481,"props":1482,"children":1483},"strong",{},[1484],{"type":999,"value":1485},"Key-Value Pairs:",{"type":999,"value":1487}," Use colon (:) to separate keys from values.",{"type":993,"tag":1002,"props":1489,"children":1490},{},[1491,1496],{"type":993,"tag":1481,"props":1492,"children":1493},{},[1494],{"type":999,"value":1495},"Comma Separation:",{"type":999,"value":1497}," Separate multiple pairs with commas.",{"type":993,"tag":1002,"props":1499,"children":1500},{},[1501,1506],{"type":993,"tag":1481,"props":1502,"children":1503},{},[1504],{"type":999,"value":1505},"Trailing Commas:",{"type":999,"value":1507}," Optional trailing comma after the last pair for cleaner diffs.",{"type":993,"tag":1002,"props":1509,"children":1510},{},[1511,1516],{"type":993,"tag":1481,"props":1512,"children":1513},{},[1514],{"type":999,"value":1515},"Nested Structures:",{"type":999,"value":1517}," Values can be any Python object, including other dictionaries or lists.",{"type":993,"tag":1189,"props":1519,"children":1521},{"id":1520},"the-dict-constructor",[1522],{"type":999,"value":1523},"⚡ The dict() Constructor",{"type":993,"tag":1002,"props":1525,"children":1526},{},[1527,1529,1535],{"type":999,"value":1528},"The ",{"type":993,"tag":1018,"props":1530,"children":1532},{"className":1531},[],[1533],{"type":999,"value":1534},"dict()",{"type":999,"value":1536}," constructor offers flexible dictionary creation from various data sources and provides functional programming compatibility.",{"type":993,"tag":1538,"props":1539,"children":1541},"h3",{"id":1540},"from-keyword-arguments",[1542],{"type":999,"value":1543},"From Keyword Arguments",{"type":993,"tag":1002,"props":1545,"children":1546},{},[1547],{"type":999,"value":1548},"Keyword arguments create dictionaries with string keys directly from parameter names.",{"type":993,"tag":1008,"props":1550,"children":1551},{},[1552],{"type":993,"tag":1012,"props":1553,"children":1555},{"className":1014,"code":1554,"language":6,"meta":8,"style":8},"# Using keyword arguments\nsettings = dict(theme='dark', font_size=14, auto_save=True)\nprint(\"Settings:\", settings)\n\n# Equivalent to literal syntax\nsettings_literal = {'theme': 'dark', 'font_size': 14, 'auto_save': True}\nprint(\"Same result:\", settings == settings_literal)\n",[1556],{"type":993,"tag":1018,"props":1557,"children":1558},{"__ignoreMap":8},[1559,1567,1644,1665,1672,1680,1747],{"type":993,"tag":1022,"props":1560,"children":1561},{"class":1024,"line":12},[1562],{"type":993,"tag":1022,"props":1563,"children":1564},{"style":1028},[1565],{"type":999,"value":1566},"# Using keyword arguments\n",{"type":993,"tag":1022,"props":1568,"children":1569},{"class":1024,"line":27},[1570,1575,1579,1584,1588,1594,1598,1603,1607,1612,1616,1621,1625,1630,1634,1639],{"type":993,"tag":1022,"props":1571,"children":1572},{"style":1037},[1573],{"type":999,"value":1574},"settings ",{"type":993,"tag":1022,"props":1576,"children":1577},{"style":1043},[1578],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1580,"children":1581},{"style":1084},[1582],{"type":999,"value":1583}," dict",{"type":993,"tag":1022,"props":1585,"children":1586},{"style":1037},[1587],{"type":999,"value":1123},{"type":993,"tag":1022,"props":1589,"children":1591},{"style":1590},"--shiki-default:#E36209;--shiki-app-dark-mode:#FFAB70",[1592],{"type":999,"value":1593},"theme",{"type":993,"tag":1022,"props":1595,"children":1596},{"style":1043},[1597],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1599,"children":1600},{"style":1054},[1601],{"type":999,"value":1602},"'dark'",{"type":993,"tag":1022,"props":1604,"children":1605},{"style":1037},[1606],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1608,"children":1609},{"style":1590},[1610],{"type":999,"value":1611},"font_size",{"type":993,"tag":1022,"props":1613,"children":1614},{"style":1043},[1615],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1617,"children":1618},{"style":1084},[1619],{"type":999,"value":1620},"14",{"type":993,"tag":1022,"props":1622,"children":1623},{"style":1037},[1624],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1626,"children":1627},{"style":1590},[1628],{"type":999,"value":1629},"auto_save",{"type":993,"tag":1022,"props":1631,"children":1632},{"style":1043},[1633],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1635,"children":1636},{"style":1084},[1637],{"type":999,"value":1638},"True",{"type":993,"tag":1022,"props":1640,"children":1641},{"style":1037},[1642],{"type":999,"value":1643},")\n",{"type":993,"tag":1022,"props":1645,"children":1646},{"class":1024,"line":36},[1647,1651,1655,1660],{"type":993,"tag":1022,"props":1648,"children":1649},{"style":1084},[1650],{"type":999,"value":1118},{"type":993,"tag":1022,"props":1652,"children":1653},{"style":1037},[1654],{"type":999,"value":1123},{"type":993,"tag":1022,"props":1656,"children":1657},{"style":1054},[1658],{"type":999,"value":1659},"\"Settings:\"",{"type":993,"tag":1022,"props":1661,"children":1662},{"style":1037},[1663],{"type":999,"value":1664},", settings)\n",{"type":993,"tag":1022,"props":1666,"children":1667},{"class":1024,"line":45},[1668],{"type":993,"tag":1022,"props":1669,"children":1670},{"emptyLinePlaceholder":13},[1671],{"type":999,"value":1141},{"type":993,"tag":1022,"props":1673,"children":1674},{"class":1024,"line":54},[1675],{"type":993,"tag":1022,"props":1676,"children":1677},{"style":1028},[1678],{"type":999,"value":1679},"# Equivalent to literal syntax\n",{"type":993,"tag":1022,"props":1681,"children":1682},{"class":1024,"line":63},[1683,1688,1692,1696,1701,1705,1709,1713,1718,1722,1726,1730,1735,1739,1743],{"type":993,"tag":1022,"props":1684,"children":1685},{"style":1037},[1686],{"type":999,"value":1687},"settings_literal ",{"type":993,"tag":1022,"props":1689,"children":1690},{"style":1043},[1691],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1693,"children":1694},{"style":1037},[1695],{"type":999,"value":1051},{"type":993,"tag":1022,"props":1697,"children":1698},{"style":1054},[1699],{"type":999,"value":1700},"'theme'",{"type":993,"tag":1022,"props":1702,"children":1703},{"style":1037},[1704],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1706,"children":1707},{"style":1054},[1708],{"type":999,"value":1602},{"type":993,"tag":1022,"props":1710,"children":1711},{"style":1037},[1712],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1714,"children":1715},{"style":1054},[1716],{"type":999,"value":1717},"'font_size'",{"type":993,"tag":1022,"props":1719,"children":1720},{"style":1037},[1721],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1723,"children":1724},{"style":1084},[1725],{"type":999,"value":1620},{"type":993,"tag":1022,"props":1727,"children":1728},{"style":1037},[1729],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1731,"children":1732},{"style":1054},[1733],{"type":999,"value":1734},"'auto_save'",{"type":993,"tag":1022,"props":1736,"children":1737},{"style":1037},[1738],{"type":999,"value":1062},{"type":993,"tag":1022,"props":1740,"children":1741},{"style":1084},[1742],{"type":999,"value":1638},{"type":993,"tag":1022,"props":1744,"children":1745},{"style":1037},[1746],{"type":999,"value":1110},{"type":993,"tag":1022,"props":1748,"children":1749},{"class":1024,"line":72},[1750,1754,1758,1763,1768,1773],{"type":993,"tag":1022,"props":1751,"children":1752},{"style":1084},[1753],{"type":999,"value":1118},{"type":993,"tag":1022,"props":1755,"children":1756},{"style":1037},[1757],{"type":999,"value":1123},{"type":993,"tag":1022,"props":1759,"children":1760},{"style":1054},[1761],{"type":999,"value":1762},"\"Same result:\"",{"type":993,"tag":1022,"props":1764,"children":1765},{"style":1037},[1766],{"type":999,"value":1767},", settings ",{"type":993,"tag":1022,"props":1769,"children":1770},{"style":1043},[1771],{"type":999,"value":1772},"==",{"type":993,"tag":1022,"props":1774,"children":1775},{"style":1037},[1776],{"type":999,"value":1777}," settings_literal)\n",{"type":993,"tag":1538,"props":1779,"children":1781},{"id":1780},"from-sequences",[1782],{"type":999,"value":1783},"From Sequences",{"type":993,"tag":1002,"props":1785,"children":1786},{},[1787],{"type":999,"value":1788},"The constructor can convert sequences of key-value pairs into dictionaries, enabling data transformation from various sources.",{"type":993,"tag":1008,"props":1790,"children":1791},{},[1792],{"type":993,"tag":1012,"props":1793,"children":1795},{"className":1014,"code":1794,"language":6,"meta":8,"style":8},"# From list of tuples\npairs = [('a', 1), ('b', 2), ('c', 3)]\ndict_from_pairs = dict(pairs)\nprint(\"From pairs:\", dict_from_pairs)\n\n# From zip objects\nkeys = ['name', 'age', 'city']\nvalues = ['Bob', 30, 'Boston']\ndict_from_zip = dict(zip(keys, values))\nprint(\"From zip:\", dict_from_zip)\n",[1796],{"type":993,"tag":1018,"props":1797,"children":1798},{"__ignoreMap":8},[1799,1807,1880,1901,1922,1929,1937,1979,2022,2052],{"type":993,"tag":1022,"props":1800,"children":1801},{"class":1024,"line":12},[1802],{"type":993,"tag":1022,"props":1803,"children":1804},{"style":1028},[1805],{"type":999,"value":1806},"# From list of tuples\n",{"type":993,"tag":1022,"props":1808,"children":1809},{"class":1024,"line":27},[1810,1815,1819,1824,1829,1833,1838,1843,1848,1852,1857,1861,1866,1870,1875],{"type":993,"tag":1022,"props":1811,"children":1812},{"style":1037},[1813],{"type":999,"value":1814},"pairs ",{"type":993,"tag":1022,"props":1816,"children":1817},{"style":1043},[1818],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1820,"children":1821},{"style":1037},[1822],{"type":999,"value":1823}," [(",{"type":993,"tag":1022,"props":1825,"children":1826},{"style":1054},[1827],{"type":999,"value":1828},"'a'",{"type":993,"tag":1022,"props":1830,"children":1831},{"style":1037},[1832],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1834,"children":1835},{"style":1084},[1836],{"type":999,"value":1837},"1",{"type":993,"tag":1022,"props":1839,"children":1840},{"style":1037},[1841],{"type":999,"value":1842},"), (",{"type":993,"tag":1022,"props":1844,"children":1845},{"style":1054},[1846],{"type":999,"value":1847},"'b'",{"type":993,"tag":1022,"props":1849,"children":1850},{"style":1037},[1851],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1853,"children":1854},{"style":1084},[1855],{"type":999,"value":1856},"2",{"type":993,"tag":1022,"props":1858,"children":1859},{"style":1037},[1860],{"type":999,"value":1842},{"type":993,"tag":1022,"props":1862,"children":1863},{"style":1054},[1864],{"type":999,"value":1865},"'c'",{"type":993,"tag":1022,"props":1867,"children":1868},{"style":1037},[1869],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1871,"children":1872},{"style":1084},[1873],{"type":999,"value":1874},"3",{"type":993,"tag":1022,"props":1876,"children":1877},{"style":1037},[1878],{"type":999,"value":1879},")]\n",{"type":993,"tag":1022,"props":1881,"children":1882},{"class":1024,"line":36},[1883,1888,1892,1896],{"type":993,"tag":1022,"props":1884,"children":1885},{"style":1037},[1886],{"type":999,"value":1887},"dict_from_pairs ",{"type":993,"tag":1022,"props":1889,"children":1890},{"style":1043},[1891],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1893,"children":1894},{"style":1084},[1895],{"type":999,"value":1583},{"type":993,"tag":1022,"props":1897,"children":1898},{"style":1037},[1899],{"type":999,"value":1900},"(pairs)\n",{"type":993,"tag":1022,"props":1902,"children":1903},{"class":1024,"line":45},[1904,1908,1912,1917],{"type":993,"tag":1022,"props":1905,"children":1906},{"style":1084},[1907],{"type":999,"value":1118},{"type":993,"tag":1022,"props":1909,"children":1910},{"style":1037},[1911],{"type":999,"value":1123},{"type":993,"tag":1022,"props":1913,"children":1914},{"style":1054},[1915],{"type":999,"value":1916},"\"From pairs:\"",{"type":993,"tag":1022,"props":1918,"children":1919},{"style":1037},[1920],{"type":999,"value":1921},", dict_from_pairs)\n",{"type":993,"tag":1022,"props":1923,"children":1924},{"class":1024,"line":54},[1925],{"type":993,"tag":1022,"props":1926,"children":1927},{"emptyLinePlaceholder":13},[1928],{"type":999,"value":1141},{"type":993,"tag":1022,"props":1930,"children":1931},{"class":1024,"line":63},[1932],{"type":993,"tag":1022,"props":1933,"children":1934},{"style":1028},[1935],{"type":999,"value":1936},"# From zip objects\n",{"type":993,"tag":1022,"props":1938,"children":1939},{"class":1024,"line":72},[1940,1945,1949,1954,1958,1962,1966,1970,1974],{"type":993,"tag":1022,"props":1941,"children":1942},{"style":1037},[1943],{"type":999,"value":1944},"keys ",{"type":993,"tag":1022,"props":1946,"children":1947},{"style":1043},[1948],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1950,"children":1951},{"style":1037},[1952],{"type":999,"value":1953}," [",{"type":993,"tag":1022,"props":1955,"children":1956},{"style":1054},[1957],{"type":999,"value":1057},{"type":993,"tag":1022,"props":1959,"children":1960},{"style":1037},[1961],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1963,"children":1964},{"style":1054},[1965],{"type":999,"value":1077},{"type":993,"tag":1022,"props":1967,"children":1968},{"style":1037},[1969],{"type":999,"value":1072},{"type":993,"tag":1022,"props":1971,"children":1972},{"style":1054},[1973],{"type":999,"value":1096},{"type":993,"tag":1022,"props":1975,"children":1976},{"style":1037},[1977],{"type":999,"value":1978},"]\n",{"type":993,"tag":1022,"props":1980,"children":1981},{"class":1024,"line":81},[1982,1987,1991,1995,2000,2004,2009,2013,2018],{"type":993,"tag":1022,"props":1983,"children":1984},{"style":1037},[1985],{"type":999,"value":1986},"values ",{"type":993,"tag":1022,"props":1988,"children":1989},{"style":1043},[1990],{"type":999,"value":1046},{"type":993,"tag":1022,"props":1992,"children":1993},{"style":1037},[1994],{"type":999,"value":1953},{"type":993,"tag":1022,"props":1996,"children":1997},{"style":1054},[1998],{"type":999,"value":1999},"'Bob'",{"type":993,"tag":1022,"props":2001,"children":2002},{"style":1037},[2003],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2005,"children":2006},{"style":1084},[2007],{"type":999,"value":2008},"30",{"type":993,"tag":1022,"props":2010,"children":2011},{"style":1037},[2012],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2014,"children":2015},{"style":1054},[2016],{"type":999,"value":2017},"'Boston'",{"type":993,"tag":1022,"props":2019,"children":2020},{"style":1037},[2021],{"type":999,"value":1978},{"type":993,"tag":1022,"props":2023,"children":2024},{"class":1024,"line":91},[2025,2030,2034,2038,2042,2047],{"type":993,"tag":1022,"props":2026,"children":2027},{"style":1037},[2028],{"type":999,"value":2029},"dict_from_zip ",{"type":993,"tag":1022,"props":2031,"children":2032},{"style":1043},[2033],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2035,"children":2036},{"style":1084},[2037],{"type":999,"value":1583},{"type":993,"tag":1022,"props":2039,"children":2040},{"style":1037},[2041],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2043,"children":2044},{"style":1084},[2045],{"type":999,"value":2046},"zip",{"type":993,"tag":1022,"props":2048,"children":2049},{"style":1037},[2050],{"type":999,"value":2051},"(keys, values))\n",{"type":993,"tag":1022,"props":2053,"children":2054},{"class":1024,"line":100},[2055,2059,2063,2068],{"type":993,"tag":1022,"props":2056,"children":2057},{"style":1084},[2058],{"type":999,"value":1118},{"type":993,"tag":1022,"props":2060,"children":2061},{"style":1037},[2062],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2064,"children":2065},{"style":1054},[2066],{"type":999,"value":2067},"\"From zip:\"",{"type":993,"tag":1022,"props":2069,"children":2070},{"style":1037},[2071],{"type":999,"value":2072},", dict_from_zip)\n",{"type":993,"tag":1538,"props":2074,"children":2076},{"id":2075},"from-another-dictionary",[2077],{"type":999,"value":2078},"From Another Dictionary",{"type":993,"tag":1002,"props":2080,"children":2081},{},[2082],{"type":999,"value":2083},"Creating dictionaries from existing dictionaries enables copying and transformation operations.",{"type":993,"tag":1008,"props":2085,"children":2086},{},[2087],{"type":993,"tag":1012,"props":2088,"children":2090},{"className":1014,"code":2089,"language":6,"meta":8,"style":8},"original = {'x': 10, 'y': 20}\ncopy_dict = dict(original)\nprint(\"Copy:\", copy_dict)\n\n# Verify it's a different object\ncopy_dict['z'] = 30\nprint(\"Original:\", original)\nprint(\"Modified copy:\", copy_dict)\n",[2091],{"type":993,"tag":1018,"props":2092,"children":2093},{"__ignoreMap":8},[2094,2145,2166,2187,2194,2202,2229,2250],{"type":993,"tag":1022,"props":2095,"children":2096},{"class":1024,"line":12},[2097,2102,2106,2110,2115,2119,2124,2128,2133,2137,2141],{"type":993,"tag":1022,"props":2098,"children":2099},{"style":1037},[2100],{"type":999,"value":2101},"original ",{"type":993,"tag":1022,"props":2103,"children":2104},{"style":1043},[2105],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2107,"children":2108},{"style":1037},[2109],{"type":999,"value":1051},{"type":993,"tag":1022,"props":2111,"children":2112},{"style":1054},[2113],{"type":999,"value":2114},"'x'",{"type":993,"tag":1022,"props":2116,"children":2117},{"style":1037},[2118],{"type":999,"value":1062},{"type":993,"tag":1022,"props":2120,"children":2121},{"style":1084},[2122],{"type":999,"value":2123},"10",{"type":993,"tag":1022,"props":2125,"children":2126},{"style":1037},[2127],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2129,"children":2130},{"style":1054},[2131],{"type":999,"value":2132},"'y'",{"type":993,"tag":1022,"props":2134,"children":2135},{"style":1037},[2136],{"type":999,"value":1062},{"type":993,"tag":1022,"props":2138,"children":2139},{"style":1084},[2140],{"type":999,"value":1379},{"type":993,"tag":1022,"props":2142,"children":2143},{"style":1037},[2144],{"type":999,"value":1110},{"type":993,"tag":1022,"props":2146,"children":2147},{"class":1024,"line":27},[2148,2153,2157,2161],{"type":993,"tag":1022,"props":2149,"children":2150},{"style":1037},[2151],{"type":999,"value":2152},"copy_dict ",{"type":993,"tag":1022,"props":2154,"children":2155},{"style":1043},[2156],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2158,"children":2159},{"style":1084},[2160],{"type":999,"value":1583},{"type":993,"tag":1022,"props":2162,"children":2163},{"style":1037},[2164],{"type":999,"value":2165},"(original)\n",{"type":993,"tag":1022,"props":2167,"children":2168},{"class":1024,"line":36},[2169,2173,2177,2182],{"type":993,"tag":1022,"props":2170,"children":2171},{"style":1084},[2172],{"type":999,"value":1118},{"type":993,"tag":1022,"props":2174,"children":2175},{"style":1037},[2176],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2178,"children":2179},{"style":1054},[2180],{"type":999,"value":2181},"\"Copy:\"",{"type":993,"tag":1022,"props":2183,"children":2184},{"style":1037},[2185],{"type":999,"value":2186},", copy_dict)\n",{"type":993,"tag":1022,"props":2188,"children":2189},{"class":1024,"line":45},[2190],{"type":993,"tag":1022,"props":2191,"children":2192},{"emptyLinePlaceholder":13},[2193],{"type":999,"value":1141},{"type":993,"tag":1022,"props":2195,"children":2196},{"class":1024,"line":54},[2197],{"type":993,"tag":1022,"props":2198,"children":2199},{"style":1028},[2200],{"type":999,"value":2201},"# Verify it's a different object\n",{"type":993,"tag":1022,"props":2203,"children":2204},{"class":1024,"line":63},[2205,2210,2215,2220,2224],{"type":993,"tag":1022,"props":2206,"children":2207},{"style":1037},[2208],{"type":999,"value":2209},"copy_dict[",{"type":993,"tag":1022,"props":2211,"children":2212},{"style":1054},[2213],{"type":999,"value":2214},"'z'",{"type":993,"tag":1022,"props":2216,"children":2217},{"style":1037},[2218],{"type":999,"value":2219},"] ",{"type":993,"tag":1022,"props":2221,"children":2222},{"style":1043},[2223],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2225,"children":2226},{"style":1084},[2227],{"type":999,"value":2228}," 30\n",{"type":993,"tag":1022,"props":2230,"children":2231},{"class":1024,"line":72},[2232,2236,2240,2245],{"type":993,"tag":1022,"props":2233,"children":2234},{"style":1084},[2235],{"type":999,"value":1118},{"type":993,"tag":1022,"props":2237,"children":2238},{"style":1037},[2239],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2241,"children":2242},{"style":1054},[2243],{"type":999,"value":2244},"\"Original:\"",{"type":993,"tag":1022,"props":2246,"children":2247},{"style":1037},[2248],{"type":999,"value":2249},", original)\n",{"type":993,"tag":1022,"props":2251,"children":2252},{"class":1024,"line":81},[2253,2257,2261,2266],{"type":993,"tag":1022,"props":2254,"children":2255},{"style":1084},[2256],{"type":999,"value":1118},{"type":993,"tag":1022,"props":2258,"children":2259},{"style":1037},[2260],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2262,"children":2263},{"style":1054},[2264],{"type":999,"value":2265},"\"Modified copy:\"",{"type":993,"tag":1022,"props":2267,"children":2268},{"style":1037},[2269],{"type":999,"value":2186},{"type":993,"tag":1189,"props":2271,"children":2273},{"id":2272},"dictionary-comprehensions",[2274],{"type":999,"value":2275},"🚀 Dictionary Comprehensions",{"type":993,"tag":1002,"props":2277,"children":2278},{},[2279],{"type":999,"value":2280},"Dictionary comprehensions provide concise, functional syntax for creating dictionaries through iteration and transformation.",{"type":993,"tag":1538,"props":2282,"children":2284},{"id":2283},"basic-comprehension",[2285],{"type":999,"value":2286},"Basic Comprehension",{"type":993,"tag":1002,"props":2288,"children":2289},{},[2290],{"type":999,"value":2291},"Simple comprehensions generate dictionaries from iterable sources with optional filtering and transformation.",{"type":993,"tag":1008,"props":2293,"children":2294},{},[2295],{"type":993,"tag":1012,"props":2296,"children":2298},{"className":1014,"code":2297,"language":6,"meta":8,"style":8},"# Create squared values\nnumbers = [1, 2, 3, 4, 5]\nsquares = {num: num**2 for num in numbers}\nprint(\"Squares:\", squares)\n\n# With condition\neven_squares = {num: num**2 for num in numbers if num % 2 == 0}\nprint(\"Even squares:\", even_squares)\n",[2299],{"type":993,"tag":1018,"props":2300,"children":2301},{"__ignoreMap":8},[2302,2310,2368,2414,2435,2442,2450,2524],{"type":993,"tag":1022,"props":2303,"children":2304},{"class":1024,"line":12},[2305],{"type":993,"tag":1022,"props":2306,"children":2307},{"style":1028},[2308],{"type":999,"value":2309},"# Create squared values\n",{"type":993,"tag":1022,"props":2311,"children":2312},{"class":1024,"line":27},[2313,2318,2322,2326,2330,2334,2338,2342,2346,2350,2355,2359,2364],{"type":993,"tag":1022,"props":2314,"children":2315},{"style":1037},[2316],{"type":999,"value":2317},"numbers ",{"type":993,"tag":1022,"props":2319,"children":2320},{"style":1043},[2321],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2323,"children":2324},{"style":1037},[2325],{"type":999,"value":1953},{"type":993,"tag":1022,"props":2327,"children":2328},{"style":1084},[2329],{"type":999,"value":1837},{"type":993,"tag":1022,"props":2331,"children":2332},{"style":1037},[2333],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2335,"children":2336},{"style":1084},[2337],{"type":999,"value":1856},{"type":993,"tag":1022,"props":2339,"children":2340},{"style":1037},[2341],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2343,"children":2344},{"style":1084},[2345],{"type":999,"value":1874},{"type":993,"tag":1022,"props":2347,"children":2348},{"style":1037},[2349],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2351,"children":2352},{"style":1084},[2353],{"type":999,"value":2354},"4",{"type":993,"tag":1022,"props":2356,"children":2357},{"style":1037},[2358],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2360,"children":2361},{"style":1084},[2362],{"type":999,"value":2363},"5",{"type":993,"tag":1022,"props":2365,"children":2366},{"style":1037},[2367],{"type":999,"value":1978},{"type":993,"tag":1022,"props":2369,"children":2370},{"class":1024,"line":36},[2371,2376,2380,2385,2390,2394,2399,2404,2409],{"type":993,"tag":1022,"props":2372,"children":2373},{"style":1037},[2374],{"type":999,"value":2375},"squares ",{"type":993,"tag":1022,"props":2377,"children":2378},{"style":1043},[2379],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2381,"children":2382},{"style":1037},[2383],{"type":999,"value":2384}," {num: num",{"type":993,"tag":1022,"props":2386,"children":2387},{"style":1043},[2388],{"type":999,"value":2389},"**",{"type":993,"tag":1022,"props":2391,"children":2392},{"style":1084},[2393],{"type":999,"value":1856},{"type":993,"tag":1022,"props":2395,"children":2396},{"style":1043},[2397],{"type":999,"value":2398}," for",{"type":993,"tag":1022,"props":2400,"children":2401},{"style":1037},[2402],{"type":999,"value":2403}," num ",{"type":993,"tag":1022,"props":2405,"children":2406},{"style":1043},[2407],{"type":999,"value":2408},"in",{"type":993,"tag":1022,"props":2410,"children":2411},{"style":1037},[2412],{"type":999,"value":2413}," numbers}\n",{"type":993,"tag":1022,"props":2415,"children":2416},{"class":1024,"line":45},[2417,2421,2425,2430],{"type":993,"tag":1022,"props":2418,"children":2419},{"style":1084},[2420],{"type":999,"value":1118},{"type":993,"tag":1022,"props":2422,"children":2423},{"style":1037},[2424],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2426,"children":2427},{"style":1054},[2428],{"type":999,"value":2429},"\"Squares:\"",{"type":993,"tag":1022,"props":2431,"children":2432},{"style":1037},[2433],{"type":999,"value":2434},", squares)\n",{"type":993,"tag":1022,"props":2436,"children":2437},{"class":1024,"line":54},[2438],{"type":993,"tag":1022,"props":2439,"children":2440},{"emptyLinePlaceholder":13},[2441],{"type":999,"value":1141},{"type":993,"tag":1022,"props":2443,"children":2444},{"class":1024,"line":63},[2445],{"type":993,"tag":1022,"props":2446,"children":2447},{"style":1028},[2448],{"type":999,"value":2449},"# With condition\n",{"type":993,"tag":1022,"props":2451,"children":2452},{"class":1024,"line":72},[2453,2458,2462,2466,2470,2474,2478,2482,2486,2491,2496,2500,2505,2510,2515,2520],{"type":993,"tag":1022,"props":2454,"children":2455},{"style":1037},[2456],{"type":999,"value":2457},"even_squares ",{"type":993,"tag":1022,"props":2459,"children":2460},{"style":1043},[2461],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2463,"children":2464},{"style":1037},[2465],{"type":999,"value":2384},{"type":993,"tag":1022,"props":2467,"children":2468},{"style":1043},[2469],{"type":999,"value":2389},{"type":993,"tag":1022,"props":2471,"children":2472},{"style":1084},[2473],{"type":999,"value":1856},{"type":993,"tag":1022,"props":2475,"children":2476},{"style":1043},[2477],{"type":999,"value":2398},{"type":993,"tag":1022,"props":2479,"children":2480},{"style":1037},[2481],{"type":999,"value":2403},{"type":993,"tag":1022,"props":2483,"children":2484},{"style":1043},[2485],{"type":999,"value":2408},{"type":993,"tag":1022,"props":2487,"children":2488},{"style":1037},[2489],{"type":999,"value":2490}," numbers ",{"type":993,"tag":1022,"props":2492,"children":2493},{"style":1043},[2494],{"type":999,"value":2495},"if",{"type":993,"tag":1022,"props":2497,"children":2498},{"style":1037},[2499],{"type":999,"value":2403},{"type":993,"tag":1022,"props":2501,"children":2502},{"style":1043},[2503],{"type":999,"value":2504},"%",{"type":993,"tag":1022,"props":2506,"children":2507},{"style":1084},[2508],{"type":999,"value":2509}," 2",{"type":993,"tag":1022,"props":2511,"children":2512},{"style":1043},[2513],{"type":999,"value":2514}," ==",{"type":993,"tag":1022,"props":2516,"children":2517},{"style":1084},[2518],{"type":999,"value":2519}," 0",{"type":993,"tag":1022,"props":2521,"children":2522},{"style":1037},[2523],{"type":999,"value":1110},{"type":993,"tag":1022,"props":2525,"children":2526},{"class":1024,"line":81},[2527,2531,2535,2540],{"type":993,"tag":1022,"props":2528,"children":2529},{"style":1084},[2530],{"type":999,"value":1118},{"type":993,"tag":1022,"props":2532,"children":2533},{"style":1037},[2534],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2536,"children":2537},{"style":1054},[2538],{"type":999,"value":2539},"\"Even squares:\"",{"type":993,"tag":1022,"props":2541,"children":2542},{"style":1037},[2543],{"type":999,"value":2544},", even_squares)\n",{"type":993,"tag":1538,"props":2546,"children":2548},{"id":2547},"advanced-transformations",[2549],{"type":999,"value":2550},"Advanced Transformations",{"type":993,"tag":1002,"props":2552,"children":2553},{},[2554],{"type":999,"value":2555},"Complex comprehensions enable sophisticated data processing and key-value transformations in single expressions.",{"type":993,"tag":1008,"props":2557,"children":2558},{},[2559],{"type":993,"tag":1012,"props":2560,"children":2562},{"className":1014,"code":2561,"language":6,"meta":8,"style":8},"# Transform string data\nwords = ['hello', 'world', 'python']\nword_info = {word: {'length': len(word), 'upper': word.upper()} \n             for word in words}\nprint(\"Word info:\", word_info)\n\n# Process existing dictionary\ngrades = {'math': 85, 'science': 92, 'english': 78}\nletter_grades = {subject: 'A' if score >= 90 else 'B' if score >= 80 else 'C'\n                 for subject, score in grades.items()}\nprint(\"Letter grades:\", letter_grades)\n",[2563],{"type":993,"tag":1018,"props":2564,"children":2565},{"__ignoreMap":8},[2566,2574,2617,2663,2685,2706,2713,2721,2788,2866,2888],{"type":993,"tag":1022,"props":2567,"children":2568},{"class":1024,"line":12},[2569],{"type":993,"tag":1022,"props":2570,"children":2571},{"style":1028},[2572],{"type":999,"value":2573},"# Transform string data\n",{"type":993,"tag":1022,"props":2575,"children":2576},{"class":1024,"line":27},[2577,2582,2586,2590,2595,2599,2604,2608,2613],{"type":993,"tag":1022,"props":2578,"children":2579},{"style":1037},[2580],{"type":999,"value":2581},"words ",{"type":993,"tag":1022,"props":2583,"children":2584},{"style":1043},[2585],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2587,"children":2588},{"style":1037},[2589],{"type":999,"value":1953},{"type":993,"tag":1022,"props":2591,"children":2592},{"style":1054},[2593],{"type":999,"value":2594},"'hello'",{"type":993,"tag":1022,"props":2596,"children":2597},{"style":1037},[2598],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2600,"children":2601},{"style":1054},[2602],{"type":999,"value":2603},"'world'",{"type":993,"tag":1022,"props":2605,"children":2606},{"style":1037},[2607],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2609,"children":2610},{"style":1054},[2611],{"type":999,"value":2612},"'python'",{"type":993,"tag":1022,"props":2614,"children":2615},{"style":1037},[2616],{"type":999,"value":1978},{"type":993,"tag":1022,"props":2618,"children":2619},{"class":1024,"line":36},[2620,2625,2629,2634,2639,2643,2648,2653,2658],{"type":993,"tag":1022,"props":2621,"children":2622},{"style":1037},[2623],{"type":999,"value":2624},"word_info ",{"type":993,"tag":1022,"props":2626,"children":2627},{"style":1043},[2628],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2630,"children":2631},{"style":1037},[2632],{"type":999,"value":2633}," {word: {",{"type":993,"tag":1022,"props":2635,"children":2636},{"style":1054},[2637],{"type":999,"value":2638},"'length'",{"type":993,"tag":1022,"props":2640,"children":2641},{"style":1037},[2642],{"type":999,"value":1062},{"type":993,"tag":1022,"props":2644,"children":2645},{"style":1084},[2646],{"type":999,"value":2647},"len",{"type":993,"tag":1022,"props":2649,"children":2650},{"style":1037},[2651],{"type":999,"value":2652},"(word), ",{"type":993,"tag":1022,"props":2654,"children":2655},{"style":1054},[2656],{"type":999,"value":2657},"'upper'",{"type":993,"tag":1022,"props":2659,"children":2660},{"style":1037},[2661],{"type":999,"value":2662},": word.upper()} \n",{"type":993,"tag":1022,"props":2664,"children":2665},{"class":1024,"line":45},[2666,2671,2676,2680],{"type":993,"tag":1022,"props":2667,"children":2668},{"style":1043},[2669],{"type":999,"value":2670},"             for",{"type":993,"tag":1022,"props":2672,"children":2673},{"style":1037},[2674],{"type":999,"value":2675}," word ",{"type":993,"tag":1022,"props":2677,"children":2678},{"style":1043},[2679],{"type":999,"value":2408},{"type":993,"tag":1022,"props":2681,"children":2682},{"style":1037},[2683],{"type":999,"value":2684}," words}\n",{"type":993,"tag":1022,"props":2686,"children":2687},{"class":1024,"line":54},[2688,2692,2696,2701],{"type":993,"tag":1022,"props":2689,"children":2690},{"style":1084},[2691],{"type":999,"value":1118},{"type":993,"tag":1022,"props":2693,"children":2694},{"style":1037},[2695],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2697,"children":2698},{"style":1054},[2699],{"type":999,"value":2700},"\"Word info:\"",{"type":993,"tag":1022,"props":2702,"children":2703},{"style":1037},[2704],{"type":999,"value":2705},", word_info)\n",{"type":993,"tag":1022,"props":2707,"children":2708},{"class":1024,"line":63},[2709],{"type":993,"tag":1022,"props":2710,"children":2711},{"emptyLinePlaceholder":13},[2712],{"type":999,"value":1141},{"type":993,"tag":1022,"props":2714,"children":2715},{"class":1024,"line":72},[2716],{"type":993,"tag":1022,"props":2717,"children":2718},{"style":1028},[2719],{"type":999,"value":2720},"# Process existing dictionary\n",{"type":993,"tag":1022,"props":2722,"children":2723},{"class":1024,"line":81},[2724,2729,2733,2737,2742,2746,2750,2754,2759,2763,2767,2771,2776,2780,2784],{"type":993,"tag":1022,"props":2725,"children":2726},{"style":1037},[2727],{"type":999,"value":2728},"grades ",{"type":993,"tag":1022,"props":2730,"children":2731},{"style":1043},[2732],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2734,"children":2735},{"style":1037},[2736],{"type":999,"value":1051},{"type":993,"tag":1022,"props":2738,"children":2739},{"style":1054},[2740],{"type":999,"value":2741},"'math'",{"type":993,"tag":1022,"props":2743,"children":2744},{"style":1037},[2745],{"type":999,"value":1062},{"type":993,"tag":1022,"props":2747,"children":2748},{"style":1084},[2749],{"type":999,"value":1401},{"type":993,"tag":1022,"props":2751,"children":2752},{"style":1037},[2753],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2755,"children":2756},{"style":1054},[2757],{"type":999,"value":2758},"'science'",{"type":993,"tag":1022,"props":2760,"children":2761},{"style":1037},[2762],{"type":999,"value":1062},{"type":993,"tag":1022,"props":2764,"children":2765},{"style":1084},[2766],{"type":999,"value":1410},{"type":993,"tag":1022,"props":2768,"children":2769},{"style":1037},[2770],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2772,"children":2773},{"style":1054},[2774],{"type":999,"value":2775},"'english'",{"type":993,"tag":1022,"props":2777,"children":2778},{"style":1037},[2779],{"type":999,"value":1062},{"type":993,"tag":1022,"props":2781,"children":2782},{"style":1084},[2783],{"type":999,"value":1419},{"type":993,"tag":1022,"props":2785,"children":2786},{"style":1037},[2787],{"type":999,"value":1110},{"type":993,"tag":1022,"props":2789,"children":2790},{"class":1024,"line":91},[2791,2796,2800,2805,2810,2815,2820,2825,2830,2835,2840,2844,2848,2852,2857,2861],{"type":993,"tag":1022,"props":2792,"children":2793},{"style":1037},[2794],{"type":999,"value":2795},"letter_grades ",{"type":993,"tag":1022,"props":2797,"children":2798},{"style":1043},[2799],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2801,"children":2802},{"style":1037},[2803],{"type":999,"value":2804}," {subject: ",{"type":993,"tag":1022,"props":2806,"children":2807},{"style":1054},[2808],{"type":999,"value":2809},"'A'",{"type":993,"tag":1022,"props":2811,"children":2812},{"style":1043},[2813],{"type":999,"value":2814}," if",{"type":993,"tag":1022,"props":2816,"children":2817},{"style":1037},[2818],{"type":999,"value":2819}," score ",{"type":993,"tag":1022,"props":2821,"children":2822},{"style":1043},[2823],{"type":999,"value":2824},">=",{"type":993,"tag":1022,"props":2826,"children":2827},{"style":1084},[2828],{"type":999,"value":2829}," 90",{"type":993,"tag":1022,"props":2831,"children":2832},{"style":1043},[2833],{"type":999,"value":2834}," else",{"type":993,"tag":1022,"props":2836,"children":2837},{"style":1054},[2838],{"type":999,"value":2839}," 'B'",{"type":993,"tag":1022,"props":2841,"children":2842},{"style":1043},[2843],{"type":999,"value":2814},{"type":993,"tag":1022,"props":2845,"children":2846},{"style":1037},[2847],{"type":999,"value":2819},{"type":993,"tag":1022,"props":2849,"children":2850},{"style":1043},[2851],{"type":999,"value":2824},{"type":993,"tag":1022,"props":2853,"children":2854},{"style":1084},[2855],{"type":999,"value":2856}," 80",{"type":993,"tag":1022,"props":2858,"children":2859},{"style":1043},[2860],{"type":999,"value":2834},{"type":993,"tag":1022,"props":2862,"children":2863},{"style":1054},[2864],{"type":999,"value":2865}," 'C'\n",{"type":993,"tag":1022,"props":2867,"children":2868},{"class":1024,"line":100},[2869,2874,2879,2883],{"type":993,"tag":1022,"props":2870,"children":2871},{"style":1043},[2872],{"type":999,"value":2873},"                 for",{"type":993,"tag":1022,"props":2875,"children":2876},{"style":1037},[2877],{"type":999,"value":2878}," subject, score ",{"type":993,"tag":1022,"props":2880,"children":2881},{"style":1043},[2882],{"type":999,"value":2408},{"type":993,"tag":1022,"props":2884,"children":2885},{"style":1037},[2886],{"type":999,"value":2887}," grades.items()}\n",{"type":993,"tag":1022,"props":2889,"children":2890},{"class":1024,"line":109},[2891,2895,2899,2904],{"type":993,"tag":1022,"props":2892,"children":2893},{"style":1084},[2894],{"type":999,"value":1118},{"type":993,"tag":1022,"props":2896,"children":2897},{"style":1037},[2898],{"type":999,"value":1123},{"type":993,"tag":1022,"props":2900,"children":2901},{"style":1054},[2902],{"type":999,"value":2903},"\"Letter grades:\"",{"type":993,"tag":1022,"props":2905,"children":2906},{"style":1037},[2907],{"type":999,"value":2908},", letter_grades)\n",{"type":993,"tag":1189,"props":2910,"children":2912},{"id":2911},"the-fromkeys-method",[2913],{"type":999,"value":2914},"🌟 The fromkeys() Method",{"type":993,"tag":1002,"props":2916,"children":2917},{},[2918,2919,2925],{"type":999,"value":1528},{"type":993,"tag":1018,"props":2920,"children":2922},{"className":2921},[],[2923],{"type":999,"value":2924},"fromkeys()",{"type":999,"value":2926}," method creates dictionaries with specified keys and a common default value, useful for initialization patterns.",{"type":993,"tag":1008,"props":2928,"children":2929},{},[2930],{"type":993,"tag":1012,"props":2931,"children":2933},{"className":1014,"code":2932,"language":6,"meta":8,"style":8},"# Create with default values\nsubjects = ['math', 'science', 'english']\ndefault_scores = dict.fromkeys(subjects, 0)\nprint(\"Default scores:\", default_scores)\n\n# With None as default\nuser_permissions = dict.fromkeys(['read', 'write', 'delete'])\nprint(\"Permissions:\", user_permissions)\n",[2934],{"type":993,"tag":1018,"props":2935,"children":2936},{"__ignoreMap":8},[2937,2945,2985,3015,3036,3043,3051,3100],{"type":993,"tag":1022,"props":2938,"children":2939},{"class":1024,"line":12},[2940],{"type":993,"tag":1022,"props":2941,"children":2942},{"style":1028},[2943],{"type":999,"value":2944},"# Create with default values\n",{"type":993,"tag":1022,"props":2946,"children":2947},{"class":1024,"line":27},[2948,2953,2957,2961,2965,2969,2973,2977,2981],{"type":993,"tag":1022,"props":2949,"children":2950},{"style":1037},[2951],{"type":999,"value":2952},"subjects ",{"type":993,"tag":1022,"props":2954,"children":2955},{"style":1043},[2956],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2958,"children":2959},{"style":1037},[2960],{"type":999,"value":1953},{"type":993,"tag":1022,"props":2962,"children":2963},{"style":1054},[2964],{"type":999,"value":2741},{"type":993,"tag":1022,"props":2966,"children":2967},{"style":1037},[2968],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2970,"children":2971},{"style":1054},[2972],{"type":999,"value":2758},{"type":993,"tag":1022,"props":2974,"children":2975},{"style":1037},[2976],{"type":999,"value":1072},{"type":993,"tag":1022,"props":2978,"children":2979},{"style":1054},[2980],{"type":999,"value":2775},{"type":993,"tag":1022,"props":2982,"children":2983},{"style":1037},[2984],{"type":999,"value":1978},{"type":993,"tag":1022,"props":2986,"children":2987},{"class":1024,"line":36},[2988,2993,2997,3001,3006,3011],{"type":993,"tag":1022,"props":2989,"children":2990},{"style":1037},[2991],{"type":999,"value":2992},"default_scores ",{"type":993,"tag":1022,"props":2994,"children":2995},{"style":1043},[2996],{"type":999,"value":1046},{"type":993,"tag":1022,"props":2998,"children":2999},{"style":1084},[3000],{"type":999,"value":1583},{"type":993,"tag":1022,"props":3002,"children":3003},{"style":1037},[3004],{"type":999,"value":3005},".fromkeys(subjects, ",{"type":993,"tag":1022,"props":3007,"children":3008},{"style":1084},[3009],{"type":999,"value":3010},"0",{"type":993,"tag":1022,"props":3012,"children":3013},{"style":1037},[3014],{"type":999,"value":1643},{"type":993,"tag":1022,"props":3016,"children":3017},{"class":1024,"line":45},[3018,3022,3026,3031],{"type":993,"tag":1022,"props":3019,"children":3020},{"style":1084},[3021],{"type":999,"value":1118},{"type":993,"tag":1022,"props":3023,"children":3024},{"style":1037},[3025],{"type":999,"value":1123},{"type":993,"tag":1022,"props":3027,"children":3028},{"style":1054},[3029],{"type":999,"value":3030},"\"Default scores:\"",{"type":993,"tag":1022,"props":3032,"children":3033},{"style":1037},[3034],{"type":999,"value":3035},", default_scores)\n",{"type":993,"tag":1022,"props":3037,"children":3038},{"class":1024,"line":54},[3039],{"type":993,"tag":1022,"props":3040,"children":3041},{"emptyLinePlaceholder":13},[3042],{"type":999,"value":1141},{"type":993,"tag":1022,"props":3044,"children":3045},{"class":1024,"line":63},[3046],{"type":993,"tag":1022,"props":3047,"children":3048},{"style":1028},[3049],{"type":999,"value":3050},"# With None as default\n",{"type":993,"tag":1022,"props":3052,"children":3053},{"class":1024,"line":72},[3054,3059,3063,3067,3072,3077,3081,3086,3090,3095],{"type":993,"tag":1022,"props":3055,"children":3056},{"style":1037},[3057],{"type":999,"value":3058},"user_permissions ",{"type":993,"tag":1022,"props":3060,"children":3061},{"style":1043},[3062],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3064,"children":3065},{"style":1084},[3066],{"type":999,"value":1583},{"type":993,"tag":1022,"props":3068,"children":3069},{"style":1037},[3070],{"type":999,"value":3071},".fromkeys([",{"type":993,"tag":1022,"props":3073,"children":3074},{"style":1054},[3075],{"type":999,"value":3076},"'read'",{"type":993,"tag":1022,"props":3078,"children":3079},{"style":1037},[3080],{"type":999,"value":1072},{"type":993,"tag":1022,"props":3082,"children":3083},{"style":1054},[3084],{"type":999,"value":3085},"'write'",{"type":993,"tag":1022,"props":3087,"children":3088},{"style":1037},[3089],{"type":999,"value":1072},{"type":993,"tag":1022,"props":3091,"children":3092},{"style":1054},[3093],{"type":999,"value":3094},"'delete'",{"type":993,"tag":1022,"props":3096,"children":3097},{"style":1037},[3098],{"type":999,"value":3099},"])\n",{"type":993,"tag":1022,"props":3101,"children":3102},{"class":1024,"line":81},[3103,3107,3111,3116],{"type":993,"tag":1022,"props":3104,"children":3105},{"style":1084},[3106],{"type":999,"value":1118},{"type":993,"tag":1022,"props":3108,"children":3109},{"style":1037},[3110],{"type":999,"value":1123},{"type":993,"tag":1022,"props":3112,"children":3113},{"style":1054},[3114],{"type":999,"value":3115},"\"Permissions:\"",{"type":993,"tag":1022,"props":3117,"children":3118},{"style":1037},[3119],{"type":999,"value":3120},", user_permissions)\n",{"type":993,"tag":1471,"props":3122,"children":3126},{"emoji":3123,"title":3124,"type":3125},"⚠️","Mutable Default Values","warning",[3127,3137,3147],{"type":993,"tag":1002,"props":3128,"children":3129},{},[3130,3135],{"type":993,"tag":1481,"props":3131,"children":3132},{},[3133],{"type":999,"value":3134},"Important Behavior:",{"type":999,"value":3136}," All keys share the same value object when using mutable defaults.",{"type":993,"tag":1002,"props":3138,"children":3139},{},[3140,3145],{"type":993,"tag":1481,"props":3141,"children":3142},{},[3143],{"type":999,"value":3144},"Safe Practice:",{"type":999,"value":3146}," Use immutable defaults (None, 0, '', False) with fromkeys().",{"type":993,"tag":1002,"props":3148,"children":3149},{},[3150,3155],{"type":993,"tag":1481,"props":3151,"children":3152},{},[3153],{"type":999,"value":3154},"Alternative:",{"type":999,"value":3156}," Use dictionary comprehension for independent mutable values.",{"type":993,"tag":1189,"props":3158,"children":3160},{"id":3159},"creating-empty-dictionaries",[3161],{"type":999,"value":3162},"💡 Creating Empty Dictionaries",{"type":993,"tag":1002,"props":3164,"children":3165},{},[3166],{"type":999,"value":3167},"Empty dictionaries serve as starting points for dynamic data collection and progressive construction.",{"type":993,"tag":1008,"props":3169,"children":3170},{},[3171],{"type":993,"tag":1012,"props":3172,"children":3174},{"className":1014,"code":3173,"language":6,"meta":8,"style":8},"# Different ways to create empty dictionaries\nempty1 = {}\nempty2 = dict()\n\nprint(\"Empty dict 1:\", empty1)\nprint(\"Empty dict 2:\", empty2)\nprint(\"Are they equal?\", empty1 == empty2)\n\n# Adding data to empty dictionary\ninventory = {}\ninventory['apples'] = 50\ninventory['bananas'] = 30\nprint(\"Inventory:\", inventory)\n",[3175],{"type":993,"tag":1018,"props":3176,"children":3177},{"__ignoreMap":8},[3178,3186,3202,3223,3230,3251,3272,3302,3309,3317,3333,3359,3383],{"type":993,"tag":1022,"props":3179,"children":3180},{"class":1024,"line":12},[3181],{"type":993,"tag":1022,"props":3182,"children":3183},{"style":1028},[3184],{"type":999,"value":3185},"# Different ways to create empty dictionaries\n",{"type":993,"tag":1022,"props":3187,"children":3188},{"class":1024,"line":27},[3189,3194,3198],{"type":993,"tag":1022,"props":3190,"children":3191},{"style":1037},[3192],{"type":999,"value":3193},"empty1 ",{"type":993,"tag":1022,"props":3195,"children":3196},{"style":1043},[3197],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3199,"children":3200},{"style":1037},[3201],{"type":999,"value":1166},{"type":993,"tag":1022,"props":3203,"children":3204},{"class":1024,"line":36},[3205,3210,3214,3218],{"type":993,"tag":1022,"props":3206,"children":3207},{"style":1037},[3208],{"type":999,"value":3209},"empty2 ",{"type":993,"tag":1022,"props":3211,"children":3212},{"style":1043},[3213],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3215,"children":3216},{"style":1084},[3217],{"type":999,"value":1583},{"type":993,"tag":1022,"props":3219,"children":3220},{"style":1037},[3221],{"type":999,"value":3222},"()\n",{"type":993,"tag":1022,"props":3224,"children":3225},{"class":1024,"line":45},[3226],{"type":993,"tag":1022,"props":3227,"children":3228},{"emptyLinePlaceholder":13},[3229],{"type":999,"value":1141},{"type":993,"tag":1022,"props":3231,"children":3232},{"class":1024,"line":54},[3233,3237,3241,3246],{"type":993,"tag":1022,"props":3234,"children":3235},{"style":1084},[3236],{"type":999,"value":1118},{"type":993,"tag":1022,"props":3238,"children":3239},{"style":1037},[3240],{"type":999,"value":1123},{"type":993,"tag":1022,"props":3242,"children":3243},{"style":1054},[3244],{"type":999,"value":3245},"\"Empty dict 1:\"",{"type":993,"tag":1022,"props":3247,"children":3248},{"style":1037},[3249],{"type":999,"value":3250},", empty1)\n",{"type":993,"tag":1022,"props":3252,"children":3253},{"class":1024,"line":63},[3254,3258,3262,3267],{"type":993,"tag":1022,"props":3255,"children":3256},{"style":1084},[3257],{"type":999,"value":1118},{"type":993,"tag":1022,"props":3259,"children":3260},{"style":1037},[3261],{"type":999,"value":1123},{"type":993,"tag":1022,"props":3263,"children":3264},{"style":1054},[3265],{"type":999,"value":3266},"\"Empty dict 2:\"",{"type":993,"tag":1022,"props":3268,"children":3269},{"style":1037},[3270],{"type":999,"value":3271},", empty2)\n",{"type":993,"tag":1022,"props":3273,"children":3274},{"class":1024,"line":72},[3275,3279,3283,3288,3293,3297],{"type":993,"tag":1022,"props":3276,"children":3277},{"style":1084},[3278],{"type":999,"value":1118},{"type":993,"tag":1022,"props":3280,"children":3281},{"style":1037},[3282],{"type":999,"value":1123},{"type":993,"tag":1022,"props":3284,"children":3285},{"style":1054},[3286],{"type":999,"value":3287},"\"Are they equal?\"",{"type":993,"tag":1022,"props":3289,"children":3290},{"style":1037},[3291],{"type":999,"value":3292},", empty1 ",{"type":993,"tag":1022,"props":3294,"children":3295},{"style":1043},[3296],{"type":999,"value":1772},{"type":993,"tag":1022,"props":3298,"children":3299},{"style":1037},[3300],{"type":999,"value":3301}," empty2)\n",{"type":993,"tag":1022,"props":3303,"children":3304},{"class":1024,"line":81},[3305],{"type":993,"tag":1022,"props":3306,"children":3307},{"emptyLinePlaceholder":13},[3308],{"type":999,"value":1141},{"type":993,"tag":1022,"props":3310,"children":3311},{"class":1024,"line":91},[3312],{"type":993,"tag":1022,"props":3313,"children":3314},{"style":1028},[3315],{"type":999,"value":3316},"# Adding data to empty dictionary\n",{"type":993,"tag":1022,"props":3318,"children":3319},{"class":1024,"line":100},[3320,3325,3329],{"type":993,"tag":1022,"props":3321,"children":3322},{"style":1037},[3323],{"type":999,"value":3324},"inventory ",{"type":993,"tag":1022,"props":3326,"children":3327},{"style":1043},[3328],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3330,"children":3331},{"style":1037},[3332],{"type":999,"value":1166},{"type":993,"tag":1022,"props":3334,"children":3335},{"class":1024,"line":109},[3336,3341,3346,3350,3354],{"type":993,"tag":1022,"props":3337,"children":3338},{"style":1037},[3339],{"type":999,"value":3340},"inventory[",{"type":993,"tag":1022,"props":3342,"children":3343},{"style":1054},[3344],{"type":999,"value":3345},"'apples'",{"type":993,"tag":1022,"props":3347,"children":3348},{"style":1037},[3349],{"type":999,"value":2219},{"type":993,"tag":1022,"props":3351,"children":3352},{"style":1043},[3353],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3355,"children":3356},{"style":1084},[3357],{"type":999,"value":3358}," 50\n",{"type":993,"tag":1022,"props":3360,"children":3361},{"class":1024,"line":118},[3362,3366,3371,3375,3379],{"type":993,"tag":1022,"props":3363,"children":3364},{"style":1037},[3365],{"type":999,"value":3340},{"type":993,"tag":1022,"props":3367,"children":3368},{"style":1054},[3369],{"type":999,"value":3370},"'bananas'",{"type":993,"tag":1022,"props":3372,"children":3373},{"style":1037},[3374],{"type":999,"value":2219},{"type":993,"tag":1022,"props":3376,"children":3377},{"style":1043},[3378],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3380,"children":3381},{"style":1084},[3382],{"type":999,"value":2228},{"type":993,"tag":1022,"props":3384,"children":3385},{"class":1024,"line":127},[3386,3390,3394,3399],{"type":993,"tag":1022,"props":3387,"children":3388},{"style":1084},[3389],{"type":999,"value":1118},{"type":993,"tag":1022,"props":3391,"children":3392},{"style":1037},[3393],{"type":999,"value":1123},{"type":993,"tag":1022,"props":3395,"children":3396},{"style":1054},[3397],{"type":999,"value":3398},"\"Inventory:\"",{"type":993,"tag":1022,"props":3400,"children":3401},{"style":1037},[3402],{"type":999,"value":3403},", inventory)\n",{"type":993,"tag":1189,"props":3405,"children":3407},{"id":3406},"dictionary-creation-methods-comparison",[3408],{"type":999,"value":3409},"📚 Dictionary Creation Methods Comparison",{"type":993,"tag":3411,"props":3412,"children":3413},"table",{},[3414,3443],{"type":993,"tag":3415,"props":3416,"children":3417},"thead",{},[3418],{"type":993,"tag":3419,"props":3420,"children":3421},"tr",{},[3422,3428,3433,3438],{"type":993,"tag":3423,"props":3424,"children":3425},"th",{},[3426],{"type":999,"value":3427},"Method",{"type":993,"tag":3423,"props":3429,"children":3430},{},[3431],{"type":999,"value":3432},"Use Case",{"type":993,"tag":3423,"props":3434,"children":3435},{},[3436],{"type":999,"value":3437},"Example",{"type":993,"tag":3423,"props":3439,"children":3440},{},[3441],{"type":999,"value":3442},"Best For",{"type":993,"tag":3444,"props":3445,"children":3446},"tbody",{},[3447,3479,3510,3541,3572],{"type":993,"tag":3419,"props":3448,"children":3449},{},[3450,3460,3465,3474],{"type":993,"tag":3451,"props":3452,"children":3453},"td",{},[3454],{"type":993,"tag":1018,"props":3455,"children":3457},{"className":3456},[],[3458],{"type":999,"value":3459},"{'key': value}",{"type":993,"tag":3451,"props":3461,"children":3462},{},[3463],{"type":999,"value":3464},"Direct creation",{"type":993,"tag":3451,"props":3466,"children":3467},{},[3468],{"type":993,"tag":1018,"props":3469,"children":3471},{"className":3470},[],[3472],{"type":999,"value":3473},"{'name': 'John'}",{"type":993,"tag":3451,"props":3475,"children":3476},{},[3477],{"type":999,"value":3478},"Known key-value pairs",{"type":993,"tag":3419,"props":3480,"children":3481},{},[3482,3491,3496,3505],{"type":993,"tag":3451,"props":3483,"children":3484},{},[3485],{"type":993,"tag":1018,"props":3486,"children":3488},{"className":3487},[],[3489],{"type":999,"value":3490},"dict(key=value)",{"type":993,"tag":3451,"props":3492,"children":3493},{},[3494],{"type":999,"value":3495},"From keywords",{"type":993,"tag":3451,"props":3497,"children":3498},{},[3499],{"type":993,"tag":1018,"props":3500,"children":3502},{"className":3501},[],[3503],{"type":999,"value":3504},"dict(name='John')",{"type":993,"tag":3451,"props":3506,"children":3507},{},[3508],{"type":999,"value":3509},"String keys, functional style",{"type":993,"tag":3419,"props":3511,"children":3512},{},[3513,3522,3527,3536],{"type":993,"tag":3451,"props":3514,"children":3515},{},[3516],{"type":993,"tag":1018,"props":3517,"children":3519},{"className":3518},[],[3520],{"type":999,"value":3521},"dict(pairs)",{"type":993,"tag":3451,"props":3523,"children":3524},{},[3525],{"type":999,"value":3526},"From sequences",{"type":993,"tag":3451,"props":3528,"children":3529},{},[3530],{"type":993,"tag":1018,"props":3531,"children":3533},{"className":3532},[],[3534],{"type":999,"value":3535},"dict([('a', 1)])",{"type":993,"tag":3451,"props":3537,"children":3538},{},[3539],{"type":999,"value":3540},"Data transformation",{"type":993,"tag":3419,"props":3542,"children":3543},{},[3544,3553,3558,3567],{"type":993,"tag":3451,"props":3545,"children":3546},{},[3547],{"type":993,"tag":1018,"props":3548,"children":3550},{"className":3549},[],[3551],{"type":999,"value":3552},"{k: v for...}",{"type":993,"tag":3451,"props":3554,"children":3555},{},[3556],{"type":999,"value":3557},"Comprehension",{"type":993,"tag":3451,"props":3559,"children":3560},{},[3561],{"type":993,"tag":1018,"props":3562,"children":3564},{"className":3563},[],[3565],{"type":999,"value":3566},"{x: x**2 for x in range(3)}",{"type":993,"tag":3451,"props":3568,"children":3569},{},[3570],{"type":999,"value":3571},"Generated/filtered data",{"type":993,"tag":3419,"props":3573,"children":3574},{},[3575,3584,3589,3598],{"type":993,"tag":3451,"props":3576,"children":3577},{},[3578],{"type":993,"tag":1018,"props":3579,"children":3581},{"className":3580},[],[3582],{"type":999,"value":3583},"dict.fromkeys()",{"type":993,"tag":3451,"props":3585,"children":3586},{},[3587],{"type":999,"value":3588},"Common defaults",{"type":993,"tag":3451,"props":3590,"children":3591},{},[3592],{"type":993,"tag":1018,"props":3593,"children":3595},{"className":3594},[],[3596],{"type":999,"value":3597},"dict.fromkeys(['a', 'b'], 0)",{"type":993,"tag":3451,"props":3599,"children":3600},{},[3601],{"type":999,"value":3602},"Initialization with defaults",{"type":993,"tag":1189,"props":3604,"children":3606},{"id":3605},"practical-examples",[3607],{"type":999,"value":3608},"🎯 Practical Examples",{"type":993,"tag":1538,"props":3610,"children":3612},{"id":3611},"configuration-management",[3613],{"type":999,"value":3614},"Configuration Management",{"type":993,"tag":1002,"props":3616,"children":3617},{},[3618],{"type":999,"value":3619},"Application configuration benefits from dictionary structure for organized, hierarchical settings management.",{"type":993,"tag":1008,"props":3621,"children":3622},{},[3623],{"type":993,"tag":1012,"props":3624,"children":3626},{"className":1014,"code":3625,"language":6,"meta":8,"style":8},"# Database configuration\ndb_config = {\n    'host': 'localhost',\n    'port': 5432,\n    'database': 'myapp',\n    'credentials': {\n        'username': 'admin',\n        'password': 'secret'\n    }\n}\n\nprint(\"Database host:\", db_config['host'])\nprint(\"Username:\", db_config['credentials']['username'])\n",[3627],{"type":993,"tag":1018,"props":3628,"children":3629},{"__ignoreMap":8},[3630,3638,3654,3675,3696,3717,3730,3751,3768,3776,3783,3790,3820],{"type":993,"tag":1022,"props":3631,"children":3632},{"class":1024,"line":12},[3633],{"type":993,"tag":1022,"props":3634,"children":3635},{"style":1028},[3636],{"type":999,"value":3637},"# Database configuration\n",{"type":993,"tag":1022,"props":3639,"children":3640},{"class":1024,"line":27},[3641,3646,3650],{"type":993,"tag":1022,"props":3642,"children":3643},{"style":1037},[3644],{"type":999,"value":3645},"db_config ",{"type":993,"tag":1022,"props":3647,"children":3648},{"style":1043},[3649],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3651,"children":3652},{"style":1037},[3653],{"type":999,"value":1340},{"type":993,"tag":1022,"props":3655,"children":3656},{"class":1024,"line":36},[3657,3662,3666,3671],{"type":993,"tag":1022,"props":3658,"children":3659},{"style":1054},[3660],{"type":999,"value":3661},"    'host'",{"type":993,"tag":1022,"props":3663,"children":3664},{"style":1037},[3665],{"type":999,"value":1062},{"type":993,"tag":1022,"props":3667,"children":3668},{"style":1054},[3669],{"type":999,"value":3670},"'localhost'",{"type":993,"tag":1022,"props":3672,"children":3673},{"style":1037},[3674],{"type":999,"value":1362},{"type":993,"tag":1022,"props":3676,"children":3677},{"class":1024,"line":45},[3678,3683,3687,3692],{"type":993,"tag":1022,"props":3679,"children":3680},{"style":1054},[3681],{"type":999,"value":3682},"    'port'",{"type":993,"tag":1022,"props":3684,"children":3685},{"style":1037},[3686],{"type":999,"value":1062},{"type":993,"tag":1022,"props":3688,"children":3689},{"style":1084},[3690],{"type":999,"value":3691},"5432",{"type":993,"tag":1022,"props":3693,"children":3694},{"style":1037},[3695],{"type":999,"value":1362},{"type":993,"tag":1022,"props":3697,"children":3698},{"class":1024,"line":54},[3699,3704,3708,3713],{"type":993,"tag":1022,"props":3700,"children":3701},{"style":1054},[3702],{"type":999,"value":3703},"    'database'",{"type":993,"tag":1022,"props":3705,"children":3706},{"style":1037},[3707],{"type":999,"value":1062},{"type":993,"tag":1022,"props":3709,"children":3710},{"style":1054},[3711],{"type":999,"value":3712},"'myapp'",{"type":993,"tag":1022,"props":3714,"children":3715},{"style":1037},[3716],{"type":999,"value":1362},{"type":993,"tag":1022,"props":3718,"children":3719},{"class":1024,"line":63},[3720,3725],{"type":993,"tag":1022,"props":3721,"children":3722},{"style":1054},[3723],{"type":999,"value":3724},"    'credentials'",{"type":993,"tag":1022,"props":3726,"children":3727},{"style":1037},[3728],{"type":999,"value":3729},": {\n",{"type":993,"tag":1022,"props":3731,"children":3732},{"class":1024,"line":72},[3733,3738,3742,3747],{"type":993,"tag":1022,"props":3734,"children":3735},{"style":1054},[3736],{"type":999,"value":3737},"        'username'",{"type":993,"tag":1022,"props":3739,"children":3740},{"style":1037},[3741],{"type":999,"value":1062},{"type":993,"tag":1022,"props":3743,"children":3744},{"style":1054},[3745],{"type":999,"value":3746},"'admin'",{"type":993,"tag":1022,"props":3748,"children":3749},{"style":1037},[3750],{"type":999,"value":1362},{"type":993,"tag":1022,"props":3752,"children":3753},{"class":1024,"line":81},[3754,3759,3763],{"type":993,"tag":1022,"props":3755,"children":3756},{"style":1054},[3757],{"type":999,"value":3758},"        'password'",{"type":993,"tag":1022,"props":3760,"children":3761},{"style":1037},[3762],{"type":999,"value":1062},{"type":993,"tag":1022,"props":3764,"children":3765},{"style":1054},[3766],{"type":999,"value":3767},"'secret'\n",{"type":993,"tag":1022,"props":3769,"children":3770},{"class":1024,"line":91},[3771],{"type":993,"tag":1022,"props":3772,"children":3773},{"style":1037},[3774],{"type":999,"value":3775},"    }\n",{"type":993,"tag":1022,"props":3777,"children":3778},{"class":1024,"line":100},[3779],{"type":993,"tag":1022,"props":3780,"children":3781},{"style":1037},[3782],{"type":999,"value":1110},{"type":993,"tag":1022,"props":3784,"children":3785},{"class":1024,"line":109},[3786],{"type":993,"tag":1022,"props":3787,"children":3788},{"emptyLinePlaceholder":13},[3789],{"type":999,"value":1141},{"type":993,"tag":1022,"props":3791,"children":3792},{"class":1024,"line":118},[3793,3797,3801,3806,3811,3816],{"type":993,"tag":1022,"props":3794,"children":3795},{"style":1084},[3796],{"type":999,"value":1118},{"type":993,"tag":1022,"props":3798,"children":3799},{"style":1037},[3800],{"type":999,"value":1123},{"type":993,"tag":1022,"props":3802,"children":3803},{"style":1054},[3804],{"type":999,"value":3805},"\"Database host:\"",{"type":993,"tag":1022,"props":3807,"children":3808},{"style":1037},[3809],{"type":999,"value":3810},", db_config[",{"type":993,"tag":1022,"props":3812,"children":3813},{"style":1054},[3814],{"type":999,"value":3815},"'host'",{"type":993,"tag":1022,"props":3817,"children":3818},{"style":1037},[3819],{"type":999,"value":3099},{"type":993,"tag":1022,"props":3821,"children":3822},{"class":1024,"line":127},[3823,3827,3831,3836,3840,3845,3850,3855],{"type":993,"tag":1022,"props":3824,"children":3825},{"style":1084},[3826],{"type":999,"value":1118},{"type":993,"tag":1022,"props":3828,"children":3829},{"style":1037},[3830],{"type":999,"value":1123},{"type":993,"tag":1022,"props":3832,"children":3833},{"style":1054},[3834],{"type":999,"value":3835},"\"Username:\"",{"type":993,"tag":1022,"props":3837,"children":3838},{"style":1037},[3839],{"type":999,"value":3810},{"type":993,"tag":1022,"props":3841,"children":3842},{"style":1054},[3843],{"type":999,"value":3844},"'credentials'",{"type":993,"tag":1022,"props":3846,"children":3847},{"style":1037},[3848],{"type":999,"value":3849},"][",{"type":993,"tag":1022,"props":3851,"children":3852},{"style":1054},[3853],{"type":999,"value":3854},"'username'",{"type":993,"tag":1022,"props":3856,"children":3857},{"style":1037},[3858],{"type":999,"value":3099},{"type":993,"tag":1538,"props":3860,"children":3862},{"id":3861},"data-processing",[3863],{"type":999,"value":3864},"Data Processing",{"type":993,"tag":1002,"props":3866,"children":3867},{},[3868],{"type":999,"value":3869},"Dictionary creation from various data sources enables flexible data transformation and analysis workflows.",{"type":993,"tag":1008,"props":3871,"children":3872},{},[3873],{"type":993,"tag":1012,"props":3874,"children":3876},{"className":1014,"code":3875,"language":6,"meta":8,"style":8},"# Process CSV-like data\nheaders = ['name', 'age', 'department']\nemployee_data = [\n    ['Alice', 25, 'Engineering'],\n    ['Bob', 30, 'Marketing'],\n    ['Charlie', 35, 'Sales']\n]\n\nemployees = [dict(zip(headers, row)) for row in employee_data]\nfor employee in employees:\n    print(f\"{employee['name']}: {employee['department']}\")\n",[3877],{"type":993,"tag":1018,"props":3878,"children":3879},{"__ignoreMap":8},[3880,3888,3929,3946,3979,4011,4045,4052,4059,4112,4133],{"type":993,"tag":1022,"props":3881,"children":3882},{"class":1024,"line":12},[3883],{"type":993,"tag":1022,"props":3884,"children":3885},{"style":1028},[3886],{"type":999,"value":3887},"# Process CSV-like data\n",{"type":993,"tag":1022,"props":3889,"children":3890},{"class":1024,"line":27},[3891,3896,3900,3904,3908,3912,3916,3920,3925],{"type":993,"tag":1022,"props":3892,"children":3893},{"style":1037},[3894],{"type":999,"value":3895},"headers ",{"type":993,"tag":1022,"props":3897,"children":3898},{"style":1043},[3899],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3901,"children":3902},{"style":1037},[3903],{"type":999,"value":1953},{"type":993,"tag":1022,"props":3905,"children":3906},{"style":1054},[3907],{"type":999,"value":1057},{"type":993,"tag":1022,"props":3909,"children":3910},{"style":1037},[3911],{"type":999,"value":1072},{"type":993,"tag":1022,"props":3913,"children":3914},{"style":1054},[3915],{"type":999,"value":1077},{"type":993,"tag":1022,"props":3917,"children":3918},{"style":1037},[3919],{"type":999,"value":1072},{"type":993,"tag":1022,"props":3921,"children":3922},{"style":1054},[3923],{"type":999,"value":3924},"'department'",{"type":993,"tag":1022,"props":3926,"children":3927},{"style":1037},[3928],{"type":999,"value":1978},{"type":993,"tag":1022,"props":3930,"children":3931},{"class":1024,"line":36},[3932,3937,3941],{"type":993,"tag":1022,"props":3933,"children":3934},{"style":1037},[3935],{"type":999,"value":3936},"employee_data ",{"type":993,"tag":1022,"props":3938,"children":3939},{"style":1043},[3940],{"type":999,"value":1046},{"type":993,"tag":1022,"props":3942,"children":3943},{"style":1037},[3944],{"type":999,"value":3945}," [\n",{"type":993,"tag":1022,"props":3947,"children":3948},{"class":1024,"line":45},[3949,3954,3958,3962,3966,3970,3975],{"type":993,"tag":1022,"props":3950,"children":3951},{"style":1037},[3952],{"type":999,"value":3953},"    [",{"type":993,"tag":1022,"props":3955,"children":3956},{"style":1054},[3957],{"type":999,"value":1357},{"type":993,"tag":1022,"props":3959,"children":3960},{"style":1037},[3961],{"type":999,"value":1072},{"type":993,"tag":1022,"props":3963,"children":3964},{"style":1084},[3965],{"type":999,"value":1087},{"type":993,"tag":1022,"props":3967,"children":3968},{"style":1037},[3969],{"type":999,"value":1072},{"type":993,"tag":1022,"props":3971,"children":3972},{"style":1054},[3973],{"type":999,"value":3974},"'Engineering'",{"type":993,"tag":1022,"props":3976,"children":3977},{"style":1037},[3978],{"type":999,"value":1424},{"type":993,"tag":1022,"props":3980,"children":3981},{"class":1024,"line":54},[3982,3986,3990,3994,3998,4002,4007],{"type":993,"tag":1022,"props":3983,"children":3984},{"style":1037},[3985],{"type":999,"value":3953},{"type":993,"tag":1022,"props":3987,"children":3988},{"style":1054},[3989],{"type":999,"value":1999},{"type":993,"tag":1022,"props":3991,"children":3992},{"style":1037},[3993],{"type":999,"value":1072},{"type":993,"tag":1022,"props":3995,"children":3996},{"style":1084},[3997],{"type":999,"value":2008},{"type":993,"tag":1022,"props":3999,"children":4000},{"style":1037},[4001],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4003,"children":4004},{"style":1054},[4005],{"type":999,"value":4006},"'Marketing'",{"type":993,"tag":1022,"props":4008,"children":4009},{"style":1037},[4010],{"type":999,"value":1424},{"type":993,"tag":1022,"props":4012,"children":4013},{"class":1024,"line":63},[4014,4018,4023,4027,4032,4036,4041],{"type":993,"tag":1022,"props":4015,"children":4016},{"style":1037},[4017],{"type":999,"value":3953},{"type":993,"tag":1022,"props":4019,"children":4020},{"style":1054},[4021],{"type":999,"value":4022},"'Charlie'",{"type":993,"tag":1022,"props":4024,"children":4025},{"style":1037},[4026],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4028,"children":4029},{"style":1084},[4030],{"type":999,"value":4031},"35",{"type":993,"tag":1022,"props":4033,"children":4034},{"style":1037},[4035],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4037,"children":4038},{"style":1054},[4039],{"type":999,"value":4040},"'Sales'",{"type":993,"tag":1022,"props":4042,"children":4043},{"style":1037},[4044],{"type":999,"value":1978},{"type":993,"tag":1022,"props":4046,"children":4047},{"class":1024,"line":72},[4048],{"type":993,"tag":1022,"props":4049,"children":4050},{"style":1037},[4051],{"type":999,"value":1978},{"type":993,"tag":1022,"props":4053,"children":4054},{"class":1024,"line":81},[4055],{"type":993,"tag":1022,"props":4056,"children":4057},{"emptyLinePlaceholder":13},[4058],{"type":999,"value":1141},{"type":993,"tag":1022,"props":4060,"children":4061},{"class":1024,"line":91},[4062,4067,4071,4075,4080,4084,4088,4093,4098,4103,4107],{"type":993,"tag":1022,"props":4063,"children":4064},{"style":1037},[4065],{"type":999,"value":4066},"employees ",{"type":993,"tag":1022,"props":4068,"children":4069},{"style":1043},[4070],{"type":999,"value":1046},{"type":993,"tag":1022,"props":4072,"children":4073},{"style":1037},[4074],{"type":999,"value":1953},{"type":993,"tag":1022,"props":4076,"children":4077},{"style":1084},[4078],{"type":999,"value":4079},"dict",{"type":993,"tag":1022,"props":4081,"children":4082},{"style":1037},[4083],{"type":999,"value":1123},{"type":993,"tag":1022,"props":4085,"children":4086},{"style":1084},[4087],{"type":999,"value":2046},{"type":993,"tag":1022,"props":4089,"children":4090},{"style":1037},[4091],{"type":999,"value":4092},"(headers, row)) ",{"type":993,"tag":1022,"props":4094,"children":4095},{"style":1043},[4096],{"type":999,"value":4097},"for",{"type":993,"tag":1022,"props":4099,"children":4100},{"style":1037},[4101],{"type":999,"value":4102}," row ",{"type":993,"tag":1022,"props":4104,"children":4105},{"style":1043},[4106],{"type":999,"value":2408},{"type":993,"tag":1022,"props":4108,"children":4109},{"style":1037},[4110],{"type":999,"value":4111}," employee_data]\n",{"type":993,"tag":1022,"props":4113,"children":4114},{"class":1024,"line":100},[4115,4119,4124,4128],{"type":993,"tag":1022,"props":4116,"children":4117},{"style":1043},[4118],{"type":999,"value":4097},{"type":993,"tag":1022,"props":4120,"children":4121},{"style":1037},[4122],{"type":999,"value":4123}," employee ",{"type":993,"tag":1022,"props":4125,"children":4126},{"style":1043},[4127],{"type":999,"value":2408},{"type":993,"tag":1022,"props":4129,"children":4130},{"style":1037},[4131],{"type":999,"value":4132}," employees:\n",{"type":993,"tag":1022,"props":4134,"children":4135},{"class":1024,"line":109},[4136,4141,4145,4150,4155,4160,4165,4169,4174,4179,4183,4187,4191,4195,4199,4203,4207],{"type":993,"tag":1022,"props":4137,"children":4138},{"style":1084},[4139],{"type":999,"value":4140},"    print",{"type":993,"tag":1022,"props":4142,"children":4143},{"style":1037},[4144],{"type":999,"value":1123},{"type":993,"tag":1022,"props":4146,"children":4147},{"style":1043},[4148],{"type":999,"value":4149},"f",{"type":993,"tag":1022,"props":4151,"children":4152},{"style":1054},[4153],{"type":999,"value":4154},"\"",{"type":993,"tag":1022,"props":4156,"children":4157},{"style":1084},[4158],{"type":999,"value":4159},"{",{"type":993,"tag":1022,"props":4161,"children":4162},{"style":1037},[4163],{"type":999,"value":4164},"employee[",{"type":993,"tag":1022,"props":4166,"children":4167},{"style":1054},[4168],{"type":999,"value":1057},{"type":993,"tag":1022,"props":4170,"children":4171},{"style":1037},[4172],{"type":999,"value":4173},"]",{"type":993,"tag":1022,"props":4175,"children":4176},{"style":1084},[4177],{"type":999,"value":4178},"}",{"type":993,"tag":1022,"props":4180,"children":4181},{"style":1054},[4182],{"type":999,"value":1062},{"type":993,"tag":1022,"props":4184,"children":4185},{"style":1084},[4186],{"type":999,"value":4159},{"type":993,"tag":1022,"props":4188,"children":4189},{"style":1037},[4190],{"type":999,"value":4164},{"type":993,"tag":1022,"props":4192,"children":4193},{"style":1054},[4194],{"type":999,"value":3924},{"type":993,"tag":1022,"props":4196,"children":4197},{"style":1037},[4198],{"type":999,"value":4173},{"type":993,"tag":1022,"props":4200,"children":4201},{"style":1084},[4202],{"type":999,"value":4178},{"type":993,"tag":1022,"props":4204,"children":4205},{"style":1054},[4206],{"type":999,"value":4154},{"type":993,"tag":1022,"props":4208,"children":4209},{"style":1037},[4210],{"type":999,"value":1643},{"type":993,"tag":4212,"props":4213,"children":4215},"content-exercise",{":widget-view":4214,"category":6,"id":529},"true",[],{"type":993,"tag":1002,"props":4217,"children":4218},{},[4219,4221,4227],{"type":999,"value":4220},"Learn more about ",{"type":993,"tag":4222,"props":4223,"children":4224},"a",{"href":535},[4225],{"type":999,"value":4226},"getting dictionary values",{"type":999,"value":4228}," to master safe and efficient data retrieval techniques.",{"type":993,"tag":4230,"props":4231,"children":4234},"exercise",{"hint":4232,"prompt":4233},"Use dictionary creation and simple math to calculate the sale price","Create a simple function that converts book information into dictionaries. Each book has: title, author, and price. Add a 'sale_price' field that's 10% off the original price.",[4235],{"type":993,"tag":1012,"props":4236,"children":4238},{"className":1014,"code":4237,"language":6,"meta":8,"style":8},"def create_book_dict(title, author, price):\n    # TODO: Create a dictionary with book information\n    # TODO: Add a sale_price that's 10% off the original price\n    pass\n\n# Test the function\nbook1 = create_book_dict(\"Python Basics\", \"John Doe\", 29.99)\nbook2 = create_book_dict(\"Web Development\", \"Jane Smith\", 39.99)\n\nprint(book1)\nprint(book2)\n",[4239],{"type":993,"tag":1018,"props":4240,"children":4241},{"__ignoreMap":8},[4242,4261,4279,4295,4303,4310,4318,4362,4405,4412,4424],{"type":993,"tag":1022,"props":4243,"children":4244},{"class":1024,"line":12},[4245,4250,4256],{"type":993,"tag":1022,"props":4246,"children":4247},{"style":1043},[4248],{"type":999,"value":4249},"def",{"type":993,"tag":1022,"props":4251,"children":4253},{"style":4252},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[4254],{"type":999,"value":4255}," create_book_dict",{"type":993,"tag":1022,"props":4257,"children":4258},{"style":1037},[4259],{"type":999,"value":4260},"(title, author, price):\n",{"type":993,"tag":1022,"props":4262,"children":4263},{"class":1024,"line":27},[4264,4269,4274],{"type":993,"tag":1022,"props":4265,"children":4266},{"style":1028},[4267],{"type":999,"value":4268},"    # ",{"type":993,"tag":1022,"props":4270,"children":4271},{"style":1043},[4272],{"type":999,"value":4273},"TODO",{"type":993,"tag":1022,"props":4275,"children":4276},{"style":1028},[4277],{"type":999,"value":4278},": Create a dictionary with book information\n",{"type":993,"tag":1022,"props":4280,"children":4281},{"class":1024,"line":36},[4282,4286,4290],{"type":993,"tag":1022,"props":4283,"children":4284},{"style":1028},[4285],{"type":999,"value":4268},{"type":993,"tag":1022,"props":4287,"children":4288},{"style":1043},[4289],{"type":999,"value":4273},{"type":993,"tag":1022,"props":4291,"children":4292},{"style":1028},[4293],{"type":999,"value":4294},": Add a sale_price that's 10% off the original price\n",{"type":993,"tag":1022,"props":4296,"children":4297},{"class":1024,"line":45},[4298],{"type":993,"tag":1022,"props":4299,"children":4300},{"style":1043},[4301],{"type":999,"value":4302},"    pass\n",{"type":993,"tag":1022,"props":4304,"children":4305},{"class":1024,"line":54},[4306],{"type":993,"tag":1022,"props":4307,"children":4308},{"emptyLinePlaceholder":13},[4309],{"type":999,"value":1141},{"type":993,"tag":1022,"props":4311,"children":4312},{"class":1024,"line":63},[4313],{"type":993,"tag":1022,"props":4314,"children":4315},{"style":1028},[4316],{"type":999,"value":4317},"# Test the function\n",{"type":993,"tag":1022,"props":4319,"children":4320},{"class":1024,"line":72},[4321,4326,4330,4335,4340,4344,4349,4353,4358],{"type":993,"tag":1022,"props":4322,"children":4323},{"style":1037},[4324],{"type":999,"value":4325},"book1 ",{"type":993,"tag":1022,"props":4327,"children":4328},{"style":1043},[4329],{"type":999,"value":1046},{"type":993,"tag":1022,"props":4331,"children":4332},{"style":1037},[4333],{"type":999,"value":4334}," create_book_dict(",{"type":993,"tag":1022,"props":4336,"children":4337},{"style":1054},[4338],{"type":999,"value":4339},"\"Python Basics\"",{"type":993,"tag":1022,"props":4341,"children":4342},{"style":1037},[4343],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4345,"children":4346},{"style":1054},[4347],{"type":999,"value":4348},"\"John Doe\"",{"type":993,"tag":1022,"props":4350,"children":4351},{"style":1037},[4352],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4354,"children":4355},{"style":1084},[4356],{"type":999,"value":4357},"29.99",{"type":993,"tag":1022,"props":4359,"children":4360},{"style":1037},[4361],{"type":999,"value":1643},{"type":993,"tag":1022,"props":4363,"children":4364},{"class":1024,"line":81},[4365,4370,4374,4378,4383,4387,4392,4396,4401],{"type":993,"tag":1022,"props":4366,"children":4367},{"style":1037},[4368],{"type":999,"value":4369},"book2 ",{"type":993,"tag":1022,"props":4371,"children":4372},{"style":1043},[4373],{"type":999,"value":1046},{"type":993,"tag":1022,"props":4375,"children":4376},{"style":1037},[4377],{"type":999,"value":4334},{"type":993,"tag":1022,"props":4379,"children":4380},{"style":1054},[4381],{"type":999,"value":4382},"\"Web Development\"",{"type":993,"tag":1022,"props":4384,"children":4385},{"style":1037},[4386],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4388,"children":4389},{"style":1054},[4390],{"type":999,"value":4391},"\"Jane Smith\"",{"type":993,"tag":1022,"props":4393,"children":4394},{"style":1037},[4395],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4397,"children":4398},{"style":1084},[4399],{"type":999,"value":4400},"39.99",{"type":993,"tag":1022,"props":4402,"children":4403},{"style":1037},[4404],{"type":999,"value":1643},{"type":993,"tag":1022,"props":4406,"children":4407},{"class":1024,"line":91},[4408],{"type":993,"tag":1022,"props":4409,"children":4410},{"emptyLinePlaceholder":13},[4411],{"type":999,"value":1141},{"type":993,"tag":1022,"props":4413,"children":4414},{"class":1024,"line":100},[4415,4419],{"type":993,"tag":1022,"props":4416,"children":4417},{"style":1084},[4418],{"type":999,"value":1118},{"type":993,"tag":1022,"props":4420,"children":4421},{"style":1037},[4422],{"type":999,"value":4423},"(book1)\n",{"type":993,"tag":1022,"props":4425,"children":4426},{"class":1024,"line":109},[4427,4431],{"type":993,"tag":1022,"props":4428,"children":4429},{"style":1084},[4430],{"type":999,"value":1118},{"type":993,"tag":1022,"props":4432,"children":4433},{"style":1037},[4434],{"type":999,"value":4435},"(book2)\n",{"type":993,"tag":1538,"props":4437,"children":4439},{"id":4438},"solution-and-explanation",[4440],{"type":999,"value":4441},"Solution and Explanation 💡",{"type":993,"tag":4443,"props":4444,"children":4445},"details",{},[4446,4454,4711,4719],{"type":993,"tag":4447,"props":4448,"children":4451},"summary",{"className":4449},[4450],"cursor-pointer",[4452],{"type":999,"value":4453},"Click to see the complete solution",{"type":993,"tag":1008,"props":4455,"children":4456},{},[4457],{"type":993,"tag":1012,"props":4458,"children":4460},{"className":1014,"code":4459,"language":6,"meta":8,"style":8},"def create_book_dict(title, author, price):\n    # Create dictionary with book information\n    book = {\n        'title': title,\n        'author': author,\n        'price': price,\n        'sale_price': price * 0.9  # 10% off\n    }\n    return book\n\n# Test the function\nbook1 = create_book_dict(\"Python Basics\", \"John Doe\", 29.99)\nbook2 = create_book_dict(\"Web Development\", \"Jane Smith\", 39.99)\n\nprint(book1)\nprint(book2)\n",[4461],{"type":993,"tag":1018,"props":4462,"children":4463},{"__ignoreMap":8},[4464,4479,4487,4503,4516,4529,4542,4570,4577,4590,4597,4604,4643,4682,4689,4700],{"type":993,"tag":1022,"props":4465,"children":4466},{"class":1024,"line":12},[4467,4471,4475],{"type":993,"tag":1022,"props":4468,"children":4469},{"style":1043},[4470],{"type":999,"value":4249},{"type":993,"tag":1022,"props":4472,"children":4473},{"style":4252},[4474],{"type":999,"value":4255},{"type":993,"tag":1022,"props":4476,"children":4477},{"style":1037},[4478],{"type":999,"value":4260},{"type":993,"tag":1022,"props":4480,"children":4481},{"class":1024,"line":27},[4482],{"type":993,"tag":1022,"props":4483,"children":4484},{"style":1028},[4485],{"type":999,"value":4486},"    # Create dictionary with book information\n",{"type":993,"tag":1022,"props":4488,"children":4489},{"class":1024,"line":36},[4490,4495,4499],{"type":993,"tag":1022,"props":4491,"children":4492},{"style":1037},[4493],{"type":999,"value":4494},"    book ",{"type":993,"tag":1022,"props":4496,"children":4497},{"style":1043},[4498],{"type":999,"value":1046},{"type":993,"tag":1022,"props":4500,"children":4501},{"style":1037},[4502],{"type":999,"value":1340},{"type":993,"tag":1022,"props":4504,"children":4505},{"class":1024,"line":45},[4506,4511],{"type":993,"tag":1022,"props":4507,"children":4508},{"style":1054},[4509],{"type":999,"value":4510},"        'title'",{"type":993,"tag":1022,"props":4512,"children":4513},{"style":1037},[4514],{"type":999,"value":4515},": title,\n",{"type":993,"tag":1022,"props":4517,"children":4518},{"class":1024,"line":54},[4519,4524],{"type":993,"tag":1022,"props":4520,"children":4521},{"style":1054},[4522],{"type":999,"value":4523},"        'author'",{"type":993,"tag":1022,"props":4525,"children":4526},{"style":1037},[4527],{"type":999,"value":4528},": author,\n",{"type":993,"tag":1022,"props":4530,"children":4531},{"class":1024,"line":63},[4532,4537],{"type":993,"tag":1022,"props":4533,"children":4534},{"style":1054},[4535],{"type":999,"value":4536},"        'price'",{"type":993,"tag":1022,"props":4538,"children":4539},{"style":1037},[4540],{"type":999,"value":4541},": price,\n",{"type":993,"tag":1022,"props":4543,"children":4544},{"class":1024,"line":72},[4545,4550,4555,4560,4565],{"type":993,"tag":1022,"props":4546,"children":4547},{"style":1054},[4548],{"type":999,"value":4549},"        'sale_price'",{"type":993,"tag":1022,"props":4551,"children":4552},{"style":1037},[4553],{"type":999,"value":4554},": price ",{"type":993,"tag":1022,"props":4556,"children":4557},{"style":1043},[4558],{"type":999,"value":4559},"*",{"type":993,"tag":1022,"props":4561,"children":4562},{"style":1084},[4563],{"type":999,"value":4564}," 0.9",{"type":993,"tag":1022,"props":4566,"children":4567},{"style":1028},[4568],{"type":999,"value":4569},"  # 10% off\n",{"type":993,"tag":1022,"props":4571,"children":4572},{"class":1024,"line":81},[4573],{"type":993,"tag":1022,"props":4574,"children":4575},{"style":1037},[4576],{"type":999,"value":3775},{"type":993,"tag":1022,"props":4578,"children":4579},{"class":1024,"line":91},[4580,4585],{"type":993,"tag":1022,"props":4581,"children":4582},{"style":1043},[4583],{"type":999,"value":4584},"    return",{"type":993,"tag":1022,"props":4586,"children":4587},{"style":1037},[4588],{"type":999,"value":4589}," book\n",{"type":993,"tag":1022,"props":4591,"children":4592},{"class":1024,"line":100},[4593],{"type":993,"tag":1022,"props":4594,"children":4595},{"emptyLinePlaceholder":13},[4596],{"type":999,"value":1141},{"type":993,"tag":1022,"props":4598,"children":4599},{"class":1024,"line":109},[4600],{"type":993,"tag":1022,"props":4601,"children":4602},{"style":1028},[4603],{"type":999,"value":4317},{"type":993,"tag":1022,"props":4605,"children":4606},{"class":1024,"line":118},[4607,4611,4615,4619,4623,4627,4631,4635,4639],{"type":993,"tag":1022,"props":4608,"children":4609},{"style":1037},[4610],{"type":999,"value":4325},{"type":993,"tag":1022,"props":4612,"children":4613},{"style":1043},[4614],{"type":999,"value":1046},{"type":993,"tag":1022,"props":4616,"children":4617},{"style":1037},[4618],{"type":999,"value":4334},{"type":993,"tag":1022,"props":4620,"children":4621},{"style":1054},[4622],{"type":999,"value":4339},{"type":993,"tag":1022,"props":4624,"children":4625},{"style":1037},[4626],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4628,"children":4629},{"style":1054},[4630],{"type":999,"value":4348},{"type":993,"tag":1022,"props":4632,"children":4633},{"style":1037},[4634],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4636,"children":4637},{"style":1084},[4638],{"type":999,"value":4357},{"type":993,"tag":1022,"props":4640,"children":4641},{"style":1037},[4642],{"type":999,"value":1643},{"type":993,"tag":1022,"props":4644,"children":4645},{"class":1024,"line":127},[4646,4650,4654,4658,4662,4666,4670,4674,4678],{"type":993,"tag":1022,"props":4647,"children":4648},{"style":1037},[4649],{"type":999,"value":4369},{"type":993,"tag":1022,"props":4651,"children":4652},{"style":1043},[4653],{"type":999,"value":1046},{"type":993,"tag":1022,"props":4655,"children":4656},{"style":1037},[4657],{"type":999,"value":4334},{"type":993,"tag":1022,"props":4659,"children":4660},{"style":1054},[4661],{"type":999,"value":4382},{"type":993,"tag":1022,"props":4663,"children":4664},{"style":1037},[4665],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4667,"children":4668},{"style":1054},[4669],{"type":999,"value":4391},{"type":993,"tag":1022,"props":4671,"children":4672},{"style":1037},[4673],{"type":999,"value":1072},{"type":993,"tag":1022,"props":4675,"children":4676},{"style":1084},[4677],{"type":999,"value":4400},{"type":993,"tag":1022,"props":4679,"children":4680},{"style":1037},[4681],{"type":999,"value":1643},{"type":993,"tag":1022,"props":4683,"children":4684},{"class":1024,"line":136},[4685],{"type":993,"tag":1022,"props":4686,"children":4687},{"emptyLinePlaceholder":13},[4688],{"type":999,"value":1141},{"type":993,"tag":1022,"props":4690,"children":4691},{"class":1024,"line":146},[4692,4696],{"type":993,"tag":1022,"props":4693,"children":4694},{"style":1084},[4695],{"type":999,"value":1118},{"type":993,"tag":1022,"props":4697,"children":4698},{"style":1037},[4699],{"type":999,"value":4423},{"type":993,"tag":1022,"props":4701,"children":4702},{"class":1024,"line":155},[4703,4707],{"type":993,"tag":1022,"props":4704,"children":4705},{"style":1084},[4706],{"type":999,"value":1118},{"type":993,"tag":1022,"props":4708,"children":4709},{"style":1037},[4710],{"type":999,"value":4435},{"type":993,"tag":1002,"props":4712,"children":4713},{},[4714],{"type":993,"tag":1481,"props":4715,"children":4716},{},[4717],{"type":999,"value":4718},"Key Learning Points:",{"type":993,"tag":4720,"props":4721,"children":4722},"ul",{},[4723,4744,4755,4766],{"type":993,"tag":4724,"props":4725,"children":4726},"li",{},[4727,4729,4734,4736,4742],{"type":999,"value":4728},"📌 ",{"type":993,"tag":1481,"props":4730,"children":4731},{},[4732],{"type":999,"value":4733},"Dictionary creation",{"type":999,"value":4735},": Use ",{"type":993,"tag":1018,"props":4737,"children":4739},{"className":4738},[],[4740],{"type":999,"value":4741},"{}",{"type":999,"value":4743}," syntax to create dictionaries with key-value pairs",{"type":993,"tag":4724,"props":4745,"children":4746},{},[4747,4748,4753],{"type":999,"value":4728},{"type":993,"tag":1481,"props":4749,"children":4750},{},[4751],{"type":999,"value":4752},"Basic calculations",{"type":999,"value":4754},": Perform simple math operations for data transformation",{"type":993,"tag":4724,"props":4756,"children":4757},{},[4758,4759,4764],{"type":999,"value":4728},{"type":993,"tag":1481,"props":4760,"children":4761},{},[4762],{"type":999,"value":4763},"Function parameters",{"type":999,"value":4765},": Accept multiple inputs to build dictionary content",{"type":993,"tag":4724,"props":4767,"children":4768},{},[4769,4770,4775],{"type":999,"value":4728},{"type":993,"tag":1481,"props":4771,"children":4772},{},[4773],{"type":999,"value":4774},"Dictionary structure",{"type":999,"value":4776},": Organize related information in a logical format",{"type":993,"tag":1189,"props":4778,"children":4780},{"id":4779},"test-your-knowledge",[4781],{"type":999,"value":4782},"Test Your Knowledge",{"type":993,"tag":1002,"props":4784,"children":4785},{},[4786],{"type":999,"value":4787},"Test what you've learned about creating dictionaries:",{"type":993,"tag":4789,"props":4790,"children":4794},"redirect-button",{"icon":4791,"label":4792,"url":4793},"pi pi-send","Take Quiz","/tutorial-quiz/python/creating-dictionaries",[],{"type":993,"tag":1189,"props":4796,"children":4798},{"id":4797},"whats-next",[4799],{"type":999,"value":4800},"What's Next?",{"type":993,"tag":1002,"props":4802,"children":4803},{},[4804],{"type":999,"value":4805},"Now that you can create dictionaries effectively, you're ready to learn how to safely retrieve data from them. Understanding different access methods is crucial for robust programming.",{"type":993,"tag":1002,"props":4807,"children":4808},{},[4809,4811,4815],{"type":999,"value":4810},"Ready to continue? Check out our lesson on ",{"type":993,"tag":4222,"props":4812,"children":4813},{"href":535},[4814],{"type":999,"value":536},{"type":999,"value":4816},".",{"type":993,"tag":4818,"props":4819,"children":4820},"style",{},[4821],{"type":999,"value":4822},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}html.app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}",{"title":8,"searchDepth":36,"depth":36,"links":4824},[4825,4826,4831,4835,4836,4837,4838,4843,4844],{"id":1191,"depth":27,"text":1194},{"id":1520,"depth":27,"text":1523,"children":4827},[4828,4829,4830],{"id":1540,"depth":36,"text":1543},{"id":1780,"depth":36,"text":1783},{"id":2075,"depth":36,"text":2078},{"id":2272,"depth":27,"text":2275,"children":4832},[4833,4834],{"id":2283,"depth":36,"text":2286},{"id":2547,"depth":36,"text":2550},{"id":2911,"depth":27,"text":2914},{"id":3159,"depth":27,"text":3162},{"id":3406,"depth":27,"text":3409},{"id":3605,"depth":27,"text":3608,"children":4839},[4840,4841,4842],{"id":3611,"depth":36,"text":3614},{"id":3861,"depth":36,"text":3864},{"id":4438,"depth":36,"text":4441},{"id":4779,"depth":27,"text":4782},{"id":4797,"depth":27,"text":4800},1782373742234]