[{"data":1,"prerenderedAt":3286},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/reserved-words":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},"/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},"/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},"/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},"/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},"/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},"/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},"/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},"/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},"/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,"expanded":13},"/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",[900],{"_path":901,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":902,"description":903,"slug":904,"parentId":891,"order":905,"body":989,"_type":15,"_id":906,"_source":17,"_file":907,"_stem":908,"_extension":20},{"type":990,"children":991,"toc":3265},"root",[992,999,1005,1012,2176,2182,2189,2194,2238,2244,2249,2297,2303,2308,2339,2345,2350,2380,2386,2391,2421,2427,2432,2463,2469,2474,2496,2502,2507,2519,2525,2531,2702,2708,2849,2854,2957,2963,3108,3114,3200,3206,3259],{"type":993,"tag":994,"props":995,"children":996},"element","h1",{"id":904},[997],{"type":998,"value":902},"text",{"type":993,"tag":1000,"props":1001,"children":1002},"p",{},[1003],{"type":998,"value":1004},"Python reserved words (keywords) are special words that have predefined meanings and cannot be used as variable names, function names, or any other identifiers. This reference provides a complete list of all Python keywords with their purposes and usage examples.",{"type":993,"tag":1006,"props":1007,"children":1009},"h2",{"id":1008},"python-keywords-reference",[1010],{"type":998,"value":1011},"Python Keywords Reference",{"type":993,"tag":1013,"props":1014,"children":1015},"table",{},[1016,1050],{"type":993,"tag":1017,"props":1018,"children":1019},"thead",{},[1020],{"type":993,"tag":1021,"props":1022,"children":1023},"tr",{},[1024,1030,1035,1040,1045],{"type":993,"tag":1025,"props":1026,"children":1027},"th",{},[1028],{"type":998,"value":1029},"Keyword",{"type":993,"tag":1025,"props":1031,"children":1032},{},[1033],{"type":998,"value":1034},"Purpose",{"type":993,"tag":1025,"props":1036,"children":1037},{},[1038],{"type":998,"value":1039},"Category",{"type":993,"tag":1025,"props":1041,"children":1042},{},[1043],{"type":998,"value":1044},"Usage Example",{"type":993,"tag":1025,"props":1046,"children":1047},{},[1048],{"type":998,"value":1049},"Description",{"type":993,"tag":1051,"props":1052,"children":1053},"tbody",{},[1054,1092,1127,1161,1195,1230,1262,1296,1330,1364,1398,1433,1468,1501,1535,1570,1605,1638,1672,1706,1740,1775,1809,1842,1875,1908,1941,1975,2009,2042,2075,2108,2142],{"type":993,"tag":1021,"props":1055,"children":1056},{},[1057,1067,1072,1077,1087],{"type":993,"tag":1058,"props":1059,"children":1060},"td",{},[1061],{"type":993,"tag":1062,"props":1063,"children":1064},"strong",{},[1065],{"type":998,"value":1066},"and",{"type":993,"tag":1058,"props":1068,"children":1069},{},[1070],{"type":998,"value":1071},"Logical operator",{"type":993,"tag":1058,"props":1073,"children":1074},{},[1075],{"type":998,"value":1076},"Operator",{"type":993,"tag":1058,"props":1078,"children":1079},{},[1080],{"type":993,"tag":1081,"props":1082,"children":1084},"code",{"className":1083},[],[1085],{"type":998,"value":1086},"if x > 0 and y > 0:",{"type":993,"tag":1058,"props":1088,"children":1089},{},[1090],{"type":998,"value":1091},"Logical AND operation",{"type":993,"tag":1021,"props":1093,"children":1094},{},[1095,1103,1108,1113,1122],{"type":993,"tag":1058,"props":1096,"children":1097},{},[1098],{"type":993,"tag":1062,"props":1099,"children":1100},{},[1101],{"type":998,"value":1102},"as",{"type":993,"tag":1058,"props":1104,"children":1105},{},[1106],{"type":998,"value":1107},"Alias creation",{"type":993,"tag":1058,"props":1109,"children":1110},{},[1111],{"type":998,"value":1112},"Statement",{"type":993,"tag":1058,"props":1114,"children":1115},{},[1116],{"type":993,"tag":1081,"props":1117,"children":1119},{"className":1118},[],[1120],{"type":998,"value":1121},"import numpy as np",{"type":993,"tag":1058,"props":1123,"children":1124},{},[1125],{"type":998,"value":1126},"Create alias for imports or with statements",{"type":993,"tag":1021,"props":1128,"children":1129},{},[1130,1138,1143,1147,1156],{"type":993,"tag":1058,"props":1131,"children":1132},{},[1133],{"type":993,"tag":1062,"props":1134,"children":1135},{},[1136],{"type":998,"value":1137},"assert",{"type":993,"tag":1058,"props":1139,"children":1140},{},[1141],{"type":998,"value":1142},"Debugging aid",{"type":993,"tag":1058,"props":1144,"children":1145},{},[1146],{"type":998,"value":1112},{"type":993,"tag":1058,"props":1148,"children":1149},{},[1150],{"type":993,"tag":1081,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":998,"value":1155},"assert x > 0, \"x must be positive\"",{"type":993,"tag":1058,"props":1157,"children":1158},{},[1159],{"type":998,"value":1160},"Test conditions during development",{"type":993,"tag":1021,"props":1162,"children":1163},{},[1164,1172,1177,1182,1190],{"type":993,"tag":1058,"props":1165,"children":1166},{},[1167],{"type":993,"tag":1062,"props":1168,"children":1169},{},[1170],{"type":998,"value":1171},"break",{"type":993,"tag":1058,"props":1173,"children":1174},{},[1175],{"type":998,"value":1176},"Loop control",{"type":993,"tag":1058,"props":1178,"children":1179},{},[1180],{"type":998,"value":1181},"Control Flow",{"type":993,"tag":1058,"props":1183,"children":1184},{},[1185],{"type":993,"tag":1081,"props":1186,"children":1188},{"className":1187},[],[1189],{"type":998,"value":1171},{"type":993,"tag":1058,"props":1191,"children":1192},{},[1193],{"type":998,"value":1194},"Exit current loop immediately",{"type":993,"tag":1021,"props":1196,"children":1197},{},[1198,1206,1211,1216,1225],{"type":993,"tag":1058,"props":1199,"children":1200},{},[1201],{"type":993,"tag":1062,"props":1202,"children":1203},{},[1204],{"type":998,"value":1205},"class",{"type":993,"tag":1058,"props":1207,"children":1208},{},[1209],{"type":998,"value":1210},"Class definition",{"type":993,"tag":1058,"props":1212,"children":1213},{},[1214],{"type":998,"value":1215},"Definition",{"type":993,"tag":1058,"props":1217,"children":1218},{},[1219],{"type":993,"tag":1081,"props":1220,"children":1222},{"className":1221},[],[1223],{"type":998,"value":1224},"class MyClass:",{"type":993,"tag":1058,"props":1226,"children":1227},{},[1228],{"type":998,"value":1229},"Define a new class",{"type":993,"tag":1021,"props":1231,"children":1232},{},[1233,1241,1245,1249,1257],{"type":993,"tag":1058,"props":1234,"children":1235},{},[1236],{"type":993,"tag":1062,"props":1237,"children":1238},{},[1239],{"type":998,"value":1240},"continue",{"type":993,"tag":1058,"props":1242,"children":1243},{},[1244],{"type":998,"value":1176},{"type":993,"tag":1058,"props":1246,"children":1247},{},[1248],{"type":998,"value":1181},{"type":993,"tag":1058,"props":1250,"children":1251},{},[1252],{"type":993,"tag":1081,"props":1253,"children":1255},{"className":1254},[],[1256],{"type":998,"value":1240},{"type":993,"tag":1058,"props":1258,"children":1259},{},[1260],{"type":998,"value":1261},"Skip to next iteration of loop",{"type":993,"tag":1021,"props":1263,"children":1264},{},[1265,1273,1278,1282,1291],{"type":993,"tag":1058,"props":1266,"children":1267},{},[1268],{"type":993,"tag":1062,"props":1269,"children":1270},{},[1271],{"type":998,"value":1272},"def",{"type":993,"tag":1058,"props":1274,"children":1275},{},[1276],{"type":998,"value":1277},"Function definition",{"type":993,"tag":1058,"props":1279,"children":1280},{},[1281],{"type":998,"value":1215},{"type":993,"tag":1058,"props":1283,"children":1284},{},[1285],{"type":993,"tag":1081,"props":1286,"children":1288},{"className":1287},[],[1289],{"type":998,"value":1290},"def my_function():",{"type":993,"tag":1058,"props":1292,"children":1293},{},[1294],{"type":998,"value":1295},"Define a new function",{"type":993,"tag":1021,"props":1297,"children":1298},{},[1299,1307,1312,1316,1325],{"type":993,"tag":1058,"props":1300,"children":1301},{},[1302],{"type":993,"tag":1062,"props":1303,"children":1304},{},[1305],{"type":998,"value":1306},"del",{"type":993,"tag":1058,"props":1308,"children":1309},{},[1310],{"type":998,"value":1311},"Object deletion",{"type":993,"tag":1058,"props":1313,"children":1314},{},[1315],{"type":998,"value":1112},{"type":993,"tag":1058,"props":1317,"children":1318},{},[1319],{"type":993,"tag":1081,"props":1320,"children":1322},{"className":1321},[],[1323],{"type":998,"value":1324},"del my_variable",{"type":993,"tag":1058,"props":1326,"children":1327},{},[1328],{"type":998,"value":1329},"Delete objects or variables",{"type":993,"tag":1021,"props":1331,"children":1332},{},[1333,1341,1346,1350,1359],{"type":993,"tag":1058,"props":1334,"children":1335},{},[1336],{"type":993,"tag":1062,"props":1337,"children":1338},{},[1339],{"type":998,"value":1340},"elif",{"type":993,"tag":1058,"props":1342,"children":1343},{},[1344],{"type":998,"value":1345},"Conditional",{"type":993,"tag":1058,"props":1347,"children":1348},{},[1349],{"type":998,"value":1181},{"type":993,"tag":1058,"props":1351,"children":1352},{},[1353],{"type":993,"tag":1081,"props":1354,"children":1356},{"className":1355},[],[1357],{"type":998,"value":1358},"elif condition:",{"type":993,"tag":1058,"props":1360,"children":1361},{},[1362],{"type":998,"value":1363},"Additional condition in if statement",{"type":993,"tag":1021,"props":1365,"children":1366},{},[1367,1375,1380,1384,1393],{"type":993,"tag":1058,"props":1368,"children":1369},{},[1370],{"type":993,"tag":1062,"props":1371,"children":1372},{},[1373],{"type":998,"value":1374},"else",{"type":993,"tag":1058,"props":1376,"children":1377},{},[1378],{"type":998,"value":1379},"Conditional/Loop",{"type":993,"tag":1058,"props":1381,"children":1382},{},[1383],{"type":998,"value":1181},{"type":993,"tag":1058,"props":1385,"children":1386},{},[1387],{"type":993,"tag":1081,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":998,"value":1392},"else:",{"type":993,"tag":1058,"props":1394,"children":1395},{},[1396],{"type":998,"value":1397},"Alternative branch in if or loop",{"type":993,"tag":1021,"props":1399,"children":1400},{},[1401,1409,1414,1419,1428],{"type":993,"tag":1058,"props":1402,"children":1403},{},[1404],{"type":993,"tag":1062,"props":1405,"children":1406},{},[1407],{"type":998,"value":1408},"except",{"type":993,"tag":1058,"props":1410,"children":1411},{},[1412],{"type":998,"value":1413},"Exception handling",{"type":993,"tag":1058,"props":1415,"children":1416},{},[1417],{"type":998,"value":1418},"Exception",{"type":993,"tag":1058,"props":1420,"children":1421},{},[1422],{"type":993,"tag":1081,"props":1423,"children":1425},{"className":1424},[],[1426],{"type":998,"value":1427},"except ValueError:",{"type":993,"tag":1058,"props":1429,"children":1430},{},[1431],{"type":998,"value":1432},"Handle specific exceptions",{"type":993,"tag":1021,"props":1434,"children":1435},{},[1436,1444,1449,1454,1463],{"type":993,"tag":1058,"props":1437,"children":1438},{},[1439],{"type":993,"tag":1062,"props":1440,"children":1441},{},[1442],{"type":998,"value":1443},"False",{"type":993,"tag":1058,"props":1445,"children":1446},{},[1447],{"type":998,"value":1448},"Boolean value",{"type":993,"tag":1058,"props":1450,"children":1451},{},[1452],{"type":998,"value":1453},"Literal",{"type":993,"tag":1058,"props":1455,"children":1456},{},[1457],{"type":993,"tag":1081,"props":1458,"children":1460},{"className":1459},[],[1461],{"type":998,"value":1462},"is_valid = False",{"type":993,"tag":1058,"props":1464,"children":1465},{},[1466],{"type":998,"value":1467},"Boolean false value",{"type":993,"tag":1021,"props":1469,"children":1470},{},[1471,1479,1483,1487,1496],{"type":993,"tag":1058,"props":1472,"children":1473},{},[1474],{"type":993,"tag":1062,"props":1475,"children":1476},{},[1477],{"type":998,"value":1478},"finally",{"type":993,"tag":1058,"props":1480,"children":1481},{},[1482],{"type":998,"value":1413},{"type":993,"tag":1058,"props":1484,"children":1485},{},[1486],{"type":998,"value":1418},{"type":993,"tag":1058,"props":1488,"children":1489},{},[1490],{"type":993,"tag":1081,"props":1491,"children":1493},{"className":1492},[],[1494],{"type":998,"value":1495},"finally:",{"type":993,"tag":1058,"props":1497,"children":1498},{},[1499],{"type":998,"value":1500},"Code that always executes",{"type":993,"tag":1021,"props":1502,"children":1503},{},[1504,1512,1517,1521,1530],{"type":993,"tag":1058,"props":1505,"children":1506},{},[1507],{"type":993,"tag":1062,"props":1508,"children":1509},{},[1510],{"type":998,"value":1511},"for",{"type":993,"tag":1058,"props":1513,"children":1514},{},[1515],{"type":998,"value":1516},"Loop construct",{"type":993,"tag":1058,"props":1518,"children":1519},{},[1520],{"type":998,"value":1181},{"type":993,"tag":1058,"props":1522,"children":1523},{},[1524],{"type":993,"tag":1081,"props":1525,"children":1527},{"className":1526},[],[1528],{"type":998,"value":1529},"for item in list:",{"type":993,"tag":1058,"props":1531,"children":1532},{},[1533],{"type":998,"value":1534},"Iterate over sequences",{"type":993,"tag":1021,"props":1536,"children":1537},{},[1538,1546,1551,1556,1565],{"type":993,"tag":1058,"props":1539,"children":1540},{},[1541],{"type":993,"tag":1062,"props":1542,"children":1543},{},[1544],{"type":998,"value":1545},"from",{"type":993,"tag":1058,"props":1547,"children":1548},{},[1549],{"type":998,"value":1550},"Import statement",{"type":993,"tag":1058,"props":1552,"children":1553},{},[1554],{"type":998,"value":1555},"Import",{"type":993,"tag":1058,"props":1557,"children":1558},{},[1559],{"type":993,"tag":1081,"props":1560,"children":1562},{"className":1561},[],[1563],{"type":998,"value":1564},"from math import sqrt",{"type":993,"tag":1058,"props":1566,"children":1567},{},[1568],{"type":998,"value":1569},"Import specific items from module",{"type":993,"tag":1021,"props":1571,"children":1572},{},[1573,1581,1586,1591,1600],{"type":993,"tag":1058,"props":1574,"children":1575},{},[1576],{"type":993,"tag":1062,"props":1577,"children":1578},{},[1579],{"type":998,"value":1580},"global",{"type":993,"tag":1058,"props":1582,"children":1583},{},[1584],{"type":998,"value":1585},"Scope declaration",{"type":993,"tag":1058,"props":1587,"children":1588},{},[1589],{"type":998,"value":1590},"Scope",{"type":993,"tag":1058,"props":1592,"children":1593},{},[1594],{"type":993,"tag":1081,"props":1595,"children":1597},{"className":1596},[],[1598],{"type":998,"value":1599},"global my_var",{"type":993,"tag":1058,"props":1601,"children":1602},{},[1603],{"type":998,"value":1604},"Declare global variable in function",{"type":993,"tag":1021,"props":1606,"children":1607},{},[1608,1616,1620,1624,1633],{"type":993,"tag":1058,"props":1609,"children":1610},{},[1611],{"type":993,"tag":1062,"props":1612,"children":1613},{},[1614],{"type":998,"value":1615},"if",{"type":993,"tag":1058,"props":1617,"children":1618},{},[1619],{"type":998,"value":1345},{"type":993,"tag":1058,"props":1621,"children":1622},{},[1623],{"type":998,"value":1181},{"type":993,"tag":1058,"props":1625,"children":1626},{},[1627],{"type":993,"tag":1081,"props":1628,"children":1630},{"className":1629},[],[1631],{"type":998,"value":1632},"if condition:",{"type":993,"tag":1058,"props":1634,"children":1635},{},[1636],{"type":998,"value":1637},"Basic conditional statement",{"type":993,"tag":1021,"props":1639,"children":1640},{},[1641,1649,1654,1658,1667],{"type":993,"tag":1058,"props":1642,"children":1643},{},[1644],{"type":993,"tag":1062,"props":1645,"children":1646},{},[1647],{"type":998,"value":1648},"import",{"type":993,"tag":1058,"props":1650,"children":1651},{},[1652],{"type":998,"value":1653},"Module import",{"type":993,"tag":1058,"props":1655,"children":1656},{},[1657],{"type":998,"value":1555},{"type":993,"tag":1058,"props":1659,"children":1660},{},[1661],{"type":993,"tag":1081,"props":1662,"children":1664},{"className":1663},[],[1665],{"type":998,"value":1666},"import os",{"type":993,"tag":1058,"props":1668,"children":1669},{},[1670],{"type":998,"value":1671},"Import modules or packages",{"type":993,"tag":1021,"props":1673,"children":1674},{},[1675,1683,1688,1692,1701],{"type":993,"tag":1058,"props":1676,"children":1677},{},[1678],{"type":993,"tag":1062,"props":1679,"children":1680},{},[1681],{"type":998,"value":1682},"in",{"type":993,"tag":1058,"props":1684,"children":1685},{},[1686],{"type":998,"value":1687},"Membership test",{"type":993,"tag":1058,"props":1689,"children":1690},{},[1691],{"type":998,"value":1076},{"type":993,"tag":1058,"props":1693,"children":1694},{},[1695],{"type":993,"tag":1081,"props":1696,"children":1698},{"className":1697},[],[1699],{"type":998,"value":1700},"if item in list:",{"type":993,"tag":1058,"props":1702,"children":1703},{},[1704],{"type":998,"value":1705},"Test membership in sequence",{"type":993,"tag":1021,"props":1707,"children":1708},{},[1709,1717,1722,1726,1735],{"type":993,"tag":1058,"props":1710,"children":1711},{},[1712],{"type":993,"tag":1062,"props":1713,"children":1714},{},[1715],{"type":998,"value":1716},"is",{"type":993,"tag":1058,"props":1718,"children":1719},{},[1720],{"type":998,"value":1721},"Identity test",{"type":993,"tag":1058,"props":1723,"children":1724},{},[1725],{"type":998,"value":1076},{"type":993,"tag":1058,"props":1727,"children":1728},{},[1729],{"type":993,"tag":1081,"props":1730,"children":1732},{"className":1731},[],[1733],{"type":998,"value":1734},"if x is None:",{"type":993,"tag":1058,"props":1736,"children":1737},{},[1738],{"type":998,"value":1739},"Test object identity",{"type":993,"tag":1021,"props":1741,"children":1742},{},[1743,1751,1756,1761,1770],{"type":993,"tag":1058,"props":1744,"children":1745},{},[1746],{"type":993,"tag":1062,"props":1747,"children":1748},{},[1749],{"type":998,"value":1750},"lambda",{"type":993,"tag":1058,"props":1752,"children":1753},{},[1754],{"type":998,"value":1755},"Anonymous function",{"type":993,"tag":1058,"props":1757,"children":1758},{},[1759],{"type":998,"value":1760},"Function",{"type":993,"tag":1058,"props":1762,"children":1763},{},[1764],{"type":993,"tag":1081,"props":1765,"children":1767},{"className":1766},[],[1768],{"type":998,"value":1769},"lambda x: x * 2",{"type":993,"tag":1058,"props":1771,"children":1772},{},[1773],{"type":998,"value":1774},"Create small anonymous functions",{"type":993,"tag":1021,"props":1776,"children":1777},{},[1778,1786,1791,1795,1804],{"type":993,"tag":1058,"props":1779,"children":1780},{},[1781],{"type":993,"tag":1062,"props":1782,"children":1783},{},[1784],{"type":998,"value":1785},"None",{"type":993,"tag":1058,"props":1787,"children":1788},{},[1789],{"type":998,"value":1790},"Null value",{"type":993,"tag":1058,"props":1792,"children":1793},{},[1794],{"type":998,"value":1453},{"type":993,"tag":1058,"props":1796,"children":1797},{},[1798],{"type":993,"tag":1081,"props":1799,"children":1801},{"className":1800},[],[1802],{"type":998,"value":1803},"result = None",{"type":993,"tag":1058,"props":1805,"children":1806},{},[1807],{"type":998,"value":1808},"Represents absence of value",{"type":993,"tag":1021,"props":1810,"children":1811},{},[1812,1820,1824,1828,1837],{"type":993,"tag":1058,"props":1813,"children":1814},{},[1815],{"type":993,"tag":1062,"props":1816,"children":1817},{},[1818],{"type":998,"value":1819},"nonlocal",{"type":993,"tag":1058,"props":1821,"children":1822},{},[1823],{"type":998,"value":1585},{"type":993,"tag":1058,"props":1825,"children":1826},{},[1827],{"type":998,"value":1590},{"type":993,"tag":1058,"props":1829,"children":1830},{},[1831],{"type":993,"tag":1081,"props":1832,"children":1834},{"className":1833},[],[1835],{"type":998,"value":1836},"nonlocal my_var",{"type":993,"tag":1058,"props":1838,"children":1839},{},[1840],{"type":998,"value":1841},"Access enclosing scope variable",{"type":993,"tag":1021,"props":1843,"children":1844},{},[1845,1853,1857,1861,1870],{"type":993,"tag":1058,"props":1846,"children":1847},{},[1848],{"type":993,"tag":1062,"props":1849,"children":1850},{},[1851],{"type":998,"value":1852},"not",{"type":993,"tag":1058,"props":1854,"children":1855},{},[1856],{"type":998,"value":1071},{"type":993,"tag":1058,"props":1858,"children":1859},{},[1860],{"type":998,"value":1076},{"type":993,"tag":1058,"props":1862,"children":1863},{},[1864],{"type":993,"tag":1081,"props":1865,"children":1867},{"className":1866},[],[1868],{"type":998,"value":1869},"if not condition:",{"type":993,"tag":1058,"props":1871,"children":1872},{},[1873],{"type":998,"value":1874},"Logical NOT operation",{"type":993,"tag":1021,"props":1876,"children":1877},{},[1878,1886,1890,1894,1903],{"type":993,"tag":1058,"props":1879,"children":1880},{},[1881],{"type":993,"tag":1062,"props":1882,"children":1883},{},[1884],{"type":998,"value":1885},"or",{"type":993,"tag":1058,"props":1887,"children":1888},{},[1889],{"type":998,"value":1071},{"type":993,"tag":1058,"props":1891,"children":1892},{},[1893],{"type":998,"value":1076},{"type":993,"tag":1058,"props":1895,"children":1896},{},[1897],{"type":993,"tag":1081,"props":1898,"children":1900},{"className":1899},[],[1901],{"type":998,"value":1902},"if x or y:",{"type":993,"tag":1058,"props":1904,"children":1905},{},[1906],{"type":998,"value":1907},"Logical OR operation",{"type":993,"tag":1021,"props":1909,"children":1910},{},[1911,1919,1924,1928,1936],{"type":993,"tag":1058,"props":1912,"children":1913},{},[1914],{"type":993,"tag":1062,"props":1915,"children":1916},{},[1917],{"type":998,"value":1918},"pass",{"type":993,"tag":1058,"props":1920,"children":1921},{},[1922],{"type":998,"value":1923},"Placeholder",{"type":993,"tag":1058,"props":1925,"children":1926},{},[1927],{"type":998,"value":1112},{"type":993,"tag":1058,"props":1929,"children":1930},{},[1931],{"type":993,"tag":1081,"props":1932,"children":1934},{"className":1933},[],[1935],{"type":998,"value":1918},{"type":993,"tag":1058,"props":1937,"children":1938},{},[1939],{"type":998,"value":1940},"Empty placeholder statement",{"type":993,"tag":1021,"props":1942,"children":1943},{},[1944,1952,1957,1961,1970],{"type":993,"tag":1058,"props":1945,"children":1946},{},[1947],{"type":993,"tag":1062,"props":1948,"children":1949},{},[1950],{"type":998,"value":1951},"raise",{"type":993,"tag":1058,"props":1953,"children":1954},{},[1955],{"type":998,"value":1956},"Exception raising",{"type":993,"tag":1058,"props":1958,"children":1959},{},[1960],{"type":998,"value":1418},{"type":993,"tag":1058,"props":1962,"children":1963},{},[1964],{"type":993,"tag":1081,"props":1965,"children":1967},{"className":1966},[],[1968],{"type":998,"value":1969},"raise ValueError(\"message\")",{"type":993,"tag":1058,"props":1971,"children":1972},{},[1973],{"type":998,"value":1974},"Raise exceptions manually",{"type":993,"tag":1021,"props":1976,"children":1977},{},[1978,1986,1991,1995,2004],{"type":993,"tag":1058,"props":1979,"children":1980},{},[1981],{"type":993,"tag":1062,"props":1982,"children":1983},{},[1984],{"type":998,"value":1985},"return",{"type":993,"tag":1058,"props":1987,"children":1988},{},[1989],{"type":998,"value":1990},"Function return",{"type":993,"tag":1058,"props":1992,"children":1993},{},[1994],{"type":998,"value":1112},{"type":993,"tag":1058,"props":1996,"children":1997},{},[1998],{"type":993,"tag":1081,"props":1999,"children":2001},{"className":2000},[],[2002],{"type":998,"value":2003},"return result",{"type":993,"tag":1058,"props":2005,"children":2006},{},[2007],{"type":998,"value":2008},"Return value from function",{"type":993,"tag":1021,"props":2010,"children":2011},{},[2012,2020,2024,2028,2037],{"type":993,"tag":1058,"props":2013,"children":2014},{},[2015],{"type":993,"tag":1062,"props":2016,"children":2017},{},[2018],{"type":998,"value":2019},"True",{"type":993,"tag":1058,"props":2021,"children":2022},{},[2023],{"type":998,"value":1448},{"type":993,"tag":1058,"props":2025,"children":2026},{},[2027],{"type":998,"value":1453},{"type":993,"tag":1058,"props":2029,"children":2030},{},[2031],{"type":993,"tag":1081,"props":2032,"children":2034},{"className":2033},[],[2035],{"type":998,"value":2036},"is_valid = True",{"type":993,"tag":1058,"props":2038,"children":2039},{},[2040],{"type":998,"value":2041},"Boolean true value",{"type":993,"tag":1021,"props":2043,"children":2044},{},[2045,2053,2057,2061,2070],{"type":993,"tag":1058,"props":2046,"children":2047},{},[2048],{"type":993,"tag":1062,"props":2049,"children":2050},{},[2051],{"type":998,"value":2052},"try",{"type":993,"tag":1058,"props":2054,"children":2055},{},[2056],{"type":998,"value":1413},{"type":993,"tag":1058,"props":2058,"children":2059},{},[2060],{"type":998,"value":1418},{"type":993,"tag":1058,"props":2062,"children":2063},{},[2064],{"type":993,"tag":1081,"props":2065,"children":2067},{"className":2066},[],[2068],{"type":998,"value":2069},"try:",{"type":993,"tag":1058,"props":2071,"children":2072},{},[2073],{"type":998,"value":2074},"Begin exception handling block",{"type":993,"tag":1021,"props":2076,"children":2077},{},[2078,2086,2090,2094,2103],{"type":993,"tag":1058,"props":2079,"children":2080},{},[2081],{"type":993,"tag":1062,"props":2082,"children":2083},{},[2084],{"type":998,"value":2085},"while",{"type":993,"tag":1058,"props":2087,"children":2088},{},[2089],{"type":998,"value":1516},{"type":993,"tag":1058,"props":2091,"children":2092},{},[2093],{"type":998,"value":1181},{"type":993,"tag":1058,"props":2095,"children":2096},{},[2097],{"type":993,"tag":1081,"props":2098,"children":2100},{"className":2099},[],[2101],{"type":998,"value":2102},"while condition:",{"type":993,"tag":1058,"props":2104,"children":2105},{},[2106],{"type":998,"value":2107},"Create while loops",{"type":993,"tag":1021,"props":2109,"children":2110},{},[2111,2119,2124,2128,2137],{"type":993,"tag":1058,"props":2112,"children":2113},{},[2114],{"type":993,"tag":1062,"props":2115,"children":2116},{},[2117],{"type":998,"value":2118},"with",{"type":993,"tag":1058,"props":2120,"children":2121},{},[2122],{"type":998,"value":2123},"Context manager",{"type":993,"tag":1058,"props":2125,"children":2126},{},[2127],{"type":998,"value":1112},{"type":993,"tag":1058,"props":2129,"children":2130},{},[2131],{"type":993,"tag":1081,"props":2132,"children":2134},{"className":2133},[],[2135],{"type":998,"value":2136},"with open(file) as f:",{"type":993,"tag":1058,"props":2138,"children":2139},{},[2140],{"type":998,"value":2141},"Resource management",{"type":993,"tag":1021,"props":2143,"children":2144},{},[2145,2153,2158,2162,2171],{"type":993,"tag":1058,"props":2146,"children":2147},{},[2148],{"type":993,"tag":1062,"props":2149,"children":2150},{},[2151],{"type":998,"value":2152},"yield",{"type":993,"tag":1058,"props":2154,"children":2155},{},[2156],{"type":998,"value":2157},"Generator",{"type":993,"tag":1058,"props":2159,"children":2160},{},[2161],{"type":998,"value":1760},{"type":993,"tag":1058,"props":2163,"children":2164},{},[2165],{"type":993,"tag":1081,"props":2166,"children":2168},{"className":2167},[],[2169],{"type":998,"value":2170},"yield value",{"type":993,"tag":1058,"props":2172,"children":2173},{},[2174],{"type":998,"value":2175},"Create generator functions",{"type":993,"tag":1006,"props":2177,"children":2179},{"id":2178},"keyword-categories",[2180],{"type":998,"value":2181},"Keyword Categories",{"type":993,"tag":2183,"props":2184,"children":2186},"h3",{"id":2185},"control-flow-keywords",[2187],{"type":998,"value":2188},"Control Flow Keywords",{"type":993,"tag":1000,"props":2190,"children":2191},{},[2192],{"type":998,"value":2193},"Keywords that control the flow of program execution:",{"type":993,"tag":2195,"props":2196,"children":2197},"ul",{},[2198,2209,2219,2229],{"type":993,"tag":2199,"props":2200,"children":2201},"li",{},[2202,2207],{"type":993,"tag":1062,"props":2203,"children":2204},{},[2205],{"type":998,"value":2206},"if, elif, else",{"type":998,"value":2208},": Conditional execution",{"type":993,"tag":2199,"props":2210,"children":2211},{},[2212,2217],{"type":993,"tag":1062,"props":2213,"children":2214},{},[2215],{"type":998,"value":2216},"for, while",{"type":998,"value":2218},": Loop constructs",{"type":993,"tag":2199,"props":2220,"children":2221},{},[2222,2227],{"type":993,"tag":1062,"props":2223,"children":2224},{},[2225],{"type":998,"value":2226},"break, continue",{"type":998,"value":2228},": Loop control",{"type":993,"tag":2199,"props":2230,"children":2231},{},[2232,2236],{"type":993,"tag":1062,"props":2233,"children":2234},{},[2235],{"type":998,"value":1918},{"type":998,"value":2237},": Empty placeholder",{"type":993,"tag":2183,"props":2239,"children":2241},{"id":2240},"function-and-class-definition",[2242],{"type":998,"value":2243},"Function and Class Definition",{"type":993,"tag":1000,"props":2245,"children":2246},{},[2247],{"type":998,"value":2248},"Keywords for defining reusable code blocks:",{"type":993,"tag":2195,"props":2250,"children":2251},{},[2252,2261,2270,2279,2288],{"type":993,"tag":2199,"props":2253,"children":2254},{},[2255,2259],{"type":993,"tag":1062,"props":2256,"children":2257},{},[2258],{"type":998,"value":1272},{"type":998,"value":2260},": Function definition",{"type":993,"tag":2199,"props":2262,"children":2263},{},[2264,2268],{"type":993,"tag":1062,"props":2265,"children":2266},{},[2267],{"type":998,"value":1205},{"type":998,"value":2269},": Class definition",{"type":993,"tag":2199,"props":2271,"children":2272},{},[2273,2277],{"type":993,"tag":1062,"props":2274,"children":2275},{},[2276],{"type":998,"value":1750},{"type":998,"value":2278},": Anonymous functions",{"type":993,"tag":2199,"props":2280,"children":2281},{},[2282,2286],{"type":993,"tag":1062,"props":2283,"children":2284},{},[2285],{"type":998,"value":1985},{"type":998,"value":2287},": Return values",{"type":993,"tag":2199,"props":2289,"children":2290},{},[2291,2295],{"type":993,"tag":1062,"props":2292,"children":2293},{},[2294],{"type":998,"value":2152},{"type":998,"value":2296},": Generator functions",{"type":993,"tag":2183,"props":2298,"children":2300},{"id":2299},"exception-handling",[2301],{"type":998,"value":2302},"Exception Handling",{"type":993,"tag":1000,"props":2304,"children":2305},{},[2306],{"type":998,"value":2307},"Keywords for managing errors and exceptions:",{"type":993,"tag":2195,"props":2309,"children":2310},{},[2311,2321,2330],{"type":993,"tag":2199,"props":2312,"children":2313},{},[2314,2319],{"type":993,"tag":1062,"props":2315,"children":2316},{},[2317],{"type":998,"value":2318},"try, except, finally",{"type":998,"value":2320},": Exception handling blocks",{"type":993,"tag":2199,"props":2322,"children":2323},{},[2324,2328],{"type":993,"tag":1062,"props":2325,"children":2326},{},[2327],{"type":998,"value":1951},{"type":998,"value":2329},": Manually raise exceptions",{"type":993,"tag":2199,"props":2331,"children":2332},{},[2333,2337],{"type":993,"tag":1062,"props":2334,"children":2335},{},[2336],{"type":998,"value":1137},{"type":998,"value":2338},": Debug-time assertions",{"type":993,"tag":2183,"props":2340,"children":2342},{"id":2341},"import-and-module-keywords",[2343],{"type":998,"value":2344},"Import and Module Keywords",{"type":993,"tag":1000,"props":2346,"children":2347},{},[2348],{"type":998,"value":2349},"Keywords for working with modules:",{"type":993,"tag":2195,"props":2351,"children":2352},{},[2353,2362,2371],{"type":993,"tag":2199,"props":2354,"children":2355},{},[2356,2360],{"type":993,"tag":1062,"props":2357,"children":2358},{},[2359],{"type":998,"value":1648},{"type":998,"value":2361},": Import modules",{"type":993,"tag":2199,"props":2363,"children":2364},{},[2365,2369],{"type":993,"tag":1062,"props":2366,"children":2367},{},[2368],{"type":998,"value":1545},{"type":998,"value":2370},": Import specific items",{"type":993,"tag":2199,"props":2372,"children":2373},{},[2374,2378],{"type":993,"tag":1062,"props":2375,"children":2376},{},[2377],{"type":998,"value":1102},{"type":998,"value":2379},": Create aliases",{"type":993,"tag":2183,"props":2381,"children":2383},{"id":2382},"scope-and-variable-keywords",[2384],{"type":998,"value":2385},"Scope and Variable Keywords",{"type":993,"tag":1000,"props":2387,"children":2388},{},[2389],{"type":998,"value":2390},"Keywords affecting variable scope:",{"type":993,"tag":2195,"props":2392,"children":2393},{},[2394,2403,2412],{"type":993,"tag":2199,"props":2395,"children":2396},{},[2397,2401],{"type":993,"tag":1062,"props":2398,"children":2399},{},[2400],{"type":998,"value":1580},{"type":998,"value":2402},": Global variable declaration",{"type":993,"tag":2199,"props":2404,"children":2405},{},[2406,2410],{"type":993,"tag":1062,"props":2407,"children":2408},{},[2409],{"type":998,"value":1819},{"type":998,"value":2411},": Enclosing scope variable access",{"type":993,"tag":2199,"props":2413,"children":2414},{},[2415,2419],{"type":993,"tag":1062,"props":2416,"children":2417},{},[2418],{"type":998,"value":1306},{"type":998,"value":2420},": Delete variables or objects",{"type":993,"tag":2183,"props":2422,"children":2424},{"id":2423},"logical-and-comparison-operators",[2425],{"type":998,"value":2426},"Logical and Comparison Operators",{"type":993,"tag":1000,"props":2428,"children":2429},{},[2430],{"type":998,"value":2431},"Keywords for logical operations:",{"type":993,"tag":2195,"props":2433,"children":2434},{},[2435,2445,2454],{"type":993,"tag":2199,"props":2436,"children":2437},{},[2438,2443],{"type":993,"tag":1062,"props":2439,"children":2440},{},[2441],{"type":998,"value":2442},"and, or, not",{"type":998,"value":2444},": Logical operators",{"type":993,"tag":2199,"props":2446,"children":2447},{},[2448,2452],{"type":993,"tag":1062,"props":2449,"children":2450},{},[2451],{"type":998,"value":1682},{"type":998,"value":2453},": Membership testing",{"type":993,"tag":2199,"props":2455,"children":2456},{},[2457,2461],{"type":993,"tag":1062,"props":2458,"children":2459},{},[2460],{"type":998,"value":1716},{"type":998,"value":2462},": Identity testing",{"type":993,"tag":2183,"props":2464,"children":2466},{"id":2465},"literal-values",[2467],{"type":998,"value":2468},"Literal Values",{"type":993,"tag":1000,"props":2470,"children":2471},{},[2472],{"type":998,"value":2473},"Keywords representing fixed values:",{"type":993,"tag":2195,"props":2475,"children":2476},{},[2477,2487],{"type":993,"tag":2199,"props":2478,"children":2479},{},[2480,2485],{"type":993,"tag":1062,"props":2481,"children":2482},{},[2483],{"type":998,"value":2484},"True, False",{"type":998,"value":2486},": Boolean literals",{"type":993,"tag":2199,"props":2488,"children":2489},{},[2490,2494],{"type":993,"tag":1062,"props":2491,"children":2492},{},[2493],{"type":998,"value":1785},{"type":998,"value":2495},": Null value literal",{"type":993,"tag":2183,"props":2497,"children":2499},{"id":2498},"context-management",[2500],{"type":998,"value":2501},"Context Management",{"type":993,"tag":1000,"props":2503,"children":2504},{},[2505],{"type":998,"value":2506},"Keywords for resource management:",{"type":993,"tag":2195,"props":2508,"children":2509},{},[2510],{"type":993,"tag":2199,"props":2511,"children":2512},{},[2513,2517],{"type":993,"tag":1062,"props":2514,"children":2515},{},[2516],{"type":998,"value":2118},{"type":998,"value":2518},": Context manager protocol",{"type":993,"tag":1006,"props":2520,"children":2522},{"id":2521},"common-usage-patterns",[2523],{"type":998,"value":2524},"Common Usage Patterns",{"type":993,"tag":2183,"props":2526,"children":2528},{"id":2527},"conditional-execution",[2529],{"type":998,"value":2530},"Conditional Execution",{"type":993,"tag":2532,"props":2533,"children":2534},"code-try",{},[2535],{"type":993,"tag":2536,"props":2537,"children":2540},"pre",{"className":2538,"code":2539,"language":6,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Basic if-elif-else structure\nage = 25\nif age >= 18:\n    print(\"Adult\")\nelif age >= 13:\n    print(\"Teenager\")\nelse:\n    print(\"Child\")\n",[2541],{"type":993,"tag":1081,"props":2542,"children":2543},{"__ignoreMap":8},[2544,2555,2576,2603,2627,2651,2671,2682],{"type":993,"tag":2545,"props":2546,"children":2548},"span",{"class":2547,"line":12},"line",[2549],{"type":993,"tag":2545,"props":2550,"children":2552},{"style":2551},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[2553],{"type":998,"value":2554},"# Basic if-elif-else structure\n",{"type":993,"tag":2545,"props":2556,"children":2557},{"class":2547,"line":27},[2558,2564,2570],{"type":993,"tag":2545,"props":2559,"children":2561},{"style":2560},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[2562],{"type":998,"value":2563},"age ",{"type":993,"tag":2545,"props":2565,"children":2567},{"style":2566},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[2568],{"type":998,"value":2569},"=",{"type":993,"tag":2545,"props":2571,"children":2573},{"style":2572},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[2574],{"type":998,"value":2575}," 25\n",{"type":993,"tag":2545,"props":2577,"children":2578},{"class":2547,"line":36},[2579,2583,2588,2593,2598],{"type":993,"tag":2545,"props":2580,"children":2581},{"style":2566},[2582],{"type":998,"value":1615},{"type":993,"tag":2545,"props":2584,"children":2585},{"style":2560},[2586],{"type":998,"value":2587}," age ",{"type":993,"tag":2545,"props":2589,"children":2590},{"style":2566},[2591],{"type":998,"value":2592},">=",{"type":993,"tag":2545,"props":2594,"children":2595},{"style":2572},[2596],{"type":998,"value":2597}," 18",{"type":993,"tag":2545,"props":2599,"children":2600},{"style":2560},[2601],{"type":998,"value":2602},":\n",{"type":993,"tag":2545,"props":2604,"children":2605},{"class":2547,"line":45},[2606,2611,2616,2622],{"type":993,"tag":2545,"props":2607,"children":2608},{"style":2572},[2609],{"type":998,"value":2610},"    print",{"type":993,"tag":2545,"props":2612,"children":2613},{"style":2560},[2614],{"type":998,"value":2615},"(",{"type":993,"tag":2545,"props":2617,"children":2619},{"style":2618},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[2620],{"type":998,"value":2621},"\"Adult\"",{"type":993,"tag":2545,"props":2623,"children":2624},{"style":2560},[2625],{"type":998,"value":2626},")\n",{"type":993,"tag":2545,"props":2628,"children":2629},{"class":2547,"line":54},[2630,2634,2638,2642,2647],{"type":993,"tag":2545,"props":2631,"children":2632},{"style":2566},[2633],{"type":998,"value":1340},{"type":993,"tag":2545,"props":2635,"children":2636},{"style":2560},[2637],{"type":998,"value":2587},{"type":993,"tag":2545,"props":2639,"children":2640},{"style":2566},[2641],{"type":998,"value":2592},{"type":993,"tag":2545,"props":2643,"children":2644},{"style":2572},[2645],{"type":998,"value":2646}," 13",{"type":993,"tag":2545,"props":2648,"children":2649},{"style":2560},[2650],{"type":998,"value":2602},{"type":993,"tag":2545,"props":2652,"children":2653},{"class":2547,"line":63},[2654,2658,2662,2667],{"type":993,"tag":2545,"props":2655,"children":2656},{"style":2572},[2657],{"type":998,"value":2610},{"type":993,"tag":2545,"props":2659,"children":2660},{"style":2560},[2661],{"type":998,"value":2615},{"type":993,"tag":2545,"props":2663,"children":2664},{"style":2618},[2665],{"type":998,"value":2666},"\"Teenager\"",{"type":993,"tag":2545,"props":2668,"children":2669},{"style":2560},[2670],{"type":998,"value":2626},{"type":993,"tag":2545,"props":2672,"children":2673},{"class":2547,"line":72},[2674,2678],{"type":993,"tag":2545,"props":2675,"children":2676},{"style":2566},[2677],{"type":998,"value":1374},{"type":993,"tag":2545,"props":2679,"children":2680},{"style":2560},[2681],{"type":998,"value":2602},{"type":993,"tag":2545,"props":2683,"children":2684},{"class":2547,"line":81},[2685,2689,2693,2698],{"type":993,"tag":2545,"props":2686,"children":2687},{"style":2572},[2688],{"type":998,"value":2610},{"type":993,"tag":2545,"props":2690,"children":2691},{"style":2560},[2692],{"type":998,"value":2615},{"type":993,"tag":2545,"props":2694,"children":2695},{"style":2618},[2696],{"type":998,"value":2697},"\"Child\"",{"type":993,"tag":2545,"props":2699,"children":2700},{"style":2560},[2701],{"type":998,"value":2626},{"type":993,"tag":2183,"props":2703,"children":2705},{"id":2704},"loop-constructs",[2706],{"type":998,"value":2707},"Loop Constructs",{"type":993,"tag":2532,"props":2709,"children":2710},{},[2711],{"type":993,"tag":2536,"props":2712,"children":2714},{"className":2538,"code":2713,"language":6,"meta":8,"style":8},"# For loop with break and continue\nfor i in range(10):\n    if i == 3:\n        continue  # Skip 3\n    if i == 7:\n        break     # Stop at 7\n    print(i)\n",[2715],{"type":993,"tag":1081,"props":2716,"children":2717},{"__ignoreMap":8},[2718,2726,2761,2787,2800,2824,2837],{"type":993,"tag":2545,"props":2719,"children":2720},{"class":2547,"line":12},[2721],{"type":993,"tag":2545,"props":2722,"children":2723},{"style":2551},[2724],{"type":998,"value":2725},"# For loop with break and continue\n",{"type":993,"tag":2545,"props":2727,"children":2728},{"class":2547,"line":27},[2729,2733,2738,2742,2747,2751,2756],{"type":993,"tag":2545,"props":2730,"children":2731},{"style":2566},[2732],{"type":998,"value":1511},{"type":993,"tag":2545,"props":2734,"children":2735},{"style":2560},[2736],{"type":998,"value":2737}," i ",{"type":993,"tag":2545,"props":2739,"children":2740},{"style":2566},[2741],{"type":998,"value":1682},{"type":993,"tag":2545,"props":2743,"children":2744},{"style":2572},[2745],{"type":998,"value":2746}," range",{"type":993,"tag":2545,"props":2748,"children":2749},{"style":2560},[2750],{"type":998,"value":2615},{"type":993,"tag":2545,"props":2752,"children":2753},{"style":2572},[2754],{"type":998,"value":2755},"10",{"type":993,"tag":2545,"props":2757,"children":2758},{"style":2560},[2759],{"type":998,"value":2760},"):\n",{"type":993,"tag":2545,"props":2762,"children":2763},{"class":2547,"line":36},[2764,2769,2773,2778,2783],{"type":993,"tag":2545,"props":2765,"children":2766},{"style":2566},[2767],{"type":998,"value":2768},"    if",{"type":993,"tag":2545,"props":2770,"children":2771},{"style":2560},[2772],{"type":998,"value":2737},{"type":993,"tag":2545,"props":2774,"children":2775},{"style":2566},[2776],{"type":998,"value":2777},"==",{"type":993,"tag":2545,"props":2779,"children":2780},{"style":2572},[2781],{"type":998,"value":2782}," 3",{"type":993,"tag":2545,"props":2784,"children":2785},{"style":2560},[2786],{"type":998,"value":2602},{"type":993,"tag":2545,"props":2788,"children":2789},{"class":2547,"line":45},[2790,2795],{"type":993,"tag":2545,"props":2791,"children":2792},{"style":2566},[2793],{"type":998,"value":2794},"        continue",{"type":993,"tag":2545,"props":2796,"children":2797},{"style":2551},[2798],{"type":998,"value":2799},"  # Skip 3\n",{"type":993,"tag":2545,"props":2801,"children":2802},{"class":2547,"line":54},[2803,2807,2811,2815,2820],{"type":993,"tag":2545,"props":2804,"children":2805},{"style":2566},[2806],{"type":998,"value":2768},{"type":993,"tag":2545,"props":2808,"children":2809},{"style":2560},[2810],{"type":998,"value":2737},{"type":993,"tag":2545,"props":2812,"children":2813},{"style":2566},[2814],{"type":998,"value":2777},{"type":993,"tag":2545,"props":2816,"children":2817},{"style":2572},[2818],{"type":998,"value":2819}," 7",{"type":993,"tag":2545,"props":2821,"children":2822},{"style":2560},[2823],{"type":998,"value":2602},{"type":993,"tag":2545,"props":2825,"children":2826},{"class":2547,"line":63},[2827,2832],{"type":993,"tag":2545,"props":2828,"children":2829},{"style":2566},[2830],{"type":998,"value":2831},"        break",{"type":993,"tag":2545,"props":2833,"children":2834},{"style":2551},[2835],{"type":998,"value":2836},"     # Stop at 7\n",{"type":993,"tag":2545,"props":2838,"children":2839},{"class":2547,"line":72},[2840,2844],{"type":993,"tag":2545,"props":2841,"children":2842},{"style":2572},[2843],{"type":998,"value":2610},{"type":993,"tag":2545,"props":2845,"children":2846},{"style":2560},[2847],{"type":998,"value":2848},"(i)\n",{"type":993,"tag":2183,"props":2850,"children":2852},{"id":2851},"exception-handling-1",[2853],{"type":998,"value":2302},{"type":993,"tag":2536,"props":2855,"children":2857},{"className":2538,"code":2856,"language":6,"meta":8,"style":8},"try:\n    # risky code\nexcept SpecificError as e:\n    # handle specific error\nexcept Exception as e:\n    # handle general errors\nfinally:\n    # cleanup code\n",[2858],{"type":993,"tag":1081,"props":2859,"children":2860},{"__ignoreMap":8},[2861,2872,2880,2901,2909,2930,2938,2949],{"type":993,"tag":2545,"props":2862,"children":2863},{"class":2547,"line":12},[2864,2868],{"type":993,"tag":2545,"props":2865,"children":2866},{"style":2566},[2867],{"type":998,"value":2052},{"type":993,"tag":2545,"props":2869,"children":2870},{"style":2560},[2871],{"type":998,"value":2602},{"type":993,"tag":2545,"props":2873,"children":2874},{"class":2547,"line":27},[2875],{"type":993,"tag":2545,"props":2876,"children":2877},{"style":2551},[2878],{"type":998,"value":2879},"    # risky code\n",{"type":993,"tag":2545,"props":2881,"children":2882},{"class":2547,"line":36},[2883,2887,2892,2896],{"type":993,"tag":2545,"props":2884,"children":2885},{"style":2566},[2886],{"type":998,"value":1408},{"type":993,"tag":2545,"props":2888,"children":2889},{"style":2560},[2890],{"type":998,"value":2891}," SpecificError ",{"type":993,"tag":2545,"props":2893,"children":2894},{"style":2566},[2895],{"type":998,"value":1102},{"type":993,"tag":2545,"props":2897,"children":2898},{"style":2560},[2899],{"type":998,"value":2900}," e:\n",{"type":993,"tag":2545,"props":2902,"children":2903},{"class":2547,"line":45},[2904],{"type":993,"tag":2545,"props":2905,"children":2906},{"style":2551},[2907],{"type":998,"value":2908},"    # handle specific error\n",{"type":993,"tag":2545,"props":2910,"children":2911},{"class":2547,"line":54},[2912,2916,2921,2926],{"type":993,"tag":2545,"props":2913,"children":2914},{"style":2566},[2915],{"type":998,"value":1408},{"type":993,"tag":2545,"props":2917,"children":2918},{"style":2572},[2919],{"type":998,"value":2920}," Exception",{"type":993,"tag":2545,"props":2922,"children":2923},{"style":2566},[2924],{"type":998,"value":2925}," as",{"type":993,"tag":2545,"props":2927,"children":2928},{"style":2560},[2929],{"type":998,"value":2900},{"type":993,"tag":2545,"props":2931,"children":2932},{"class":2547,"line":63},[2933],{"type":993,"tag":2545,"props":2934,"children":2935},{"style":2551},[2936],{"type":998,"value":2937},"    # handle general errors\n",{"type":993,"tag":2545,"props":2939,"children":2940},{"class":2547,"line":72},[2941,2945],{"type":993,"tag":2545,"props":2942,"children":2943},{"style":2566},[2944],{"type":998,"value":1478},{"type":993,"tag":2545,"props":2946,"children":2947},{"style":2560},[2948],{"type":998,"value":2602},{"type":993,"tag":2545,"props":2950,"children":2951},{"class":2547,"line":81},[2952],{"type":993,"tag":2545,"props":2953,"children":2954},{"style":2551},[2955],{"type":998,"value":2956},"    # cleanup code\n",{"type":993,"tag":2183,"props":2958,"children":2960},{"id":2959},"function-definition",[2961],{"type":998,"value":2962},"Function Definition",{"type":993,"tag":2532,"props":2964,"children":2965},{},[2966],{"type":993,"tag":2536,"props":2967,"children":2969},{"className":2538,"code":2968,"language":6,"meta":8,"style":8},"# Function with global variable\ncounter = 0\n\ndef increment():\n    global counter\n    counter += 1\n    return counter\n\nprint(increment())  # 1\nprint(increment())  # 2\n",[2970],{"type":993,"tag":1081,"props":2971,"children":2972},{"__ignoreMap":8},[2973,2981,2998,3006,3024,3037,3055,3067,3074,3092],{"type":993,"tag":2545,"props":2974,"children":2975},{"class":2547,"line":12},[2976],{"type":993,"tag":2545,"props":2977,"children":2978},{"style":2551},[2979],{"type":998,"value":2980},"# Function with global variable\n",{"type":993,"tag":2545,"props":2982,"children":2983},{"class":2547,"line":27},[2984,2989,2993],{"type":993,"tag":2545,"props":2985,"children":2986},{"style":2560},[2987],{"type":998,"value":2988},"counter ",{"type":993,"tag":2545,"props":2990,"children":2991},{"style":2566},[2992],{"type":998,"value":2569},{"type":993,"tag":2545,"props":2994,"children":2995},{"style":2572},[2996],{"type":998,"value":2997}," 0\n",{"type":993,"tag":2545,"props":2999,"children":3000},{"class":2547,"line":36},[3001],{"type":993,"tag":2545,"props":3002,"children":3003},{"emptyLinePlaceholder":13},[3004],{"type":998,"value":3005},"\n",{"type":993,"tag":2545,"props":3007,"children":3008},{"class":2547,"line":45},[3009,3013,3019],{"type":993,"tag":2545,"props":3010,"children":3011},{"style":2566},[3012],{"type":998,"value":1272},{"type":993,"tag":2545,"props":3014,"children":3016},{"style":3015},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[3017],{"type":998,"value":3018}," increment",{"type":993,"tag":2545,"props":3020,"children":3021},{"style":2560},[3022],{"type":998,"value":3023},"():\n",{"type":993,"tag":2545,"props":3025,"children":3026},{"class":2547,"line":54},[3027,3032],{"type":993,"tag":2545,"props":3028,"children":3029},{"style":2566},[3030],{"type":998,"value":3031},"    global",{"type":993,"tag":2545,"props":3033,"children":3034},{"style":2560},[3035],{"type":998,"value":3036}," counter\n",{"type":993,"tag":2545,"props":3038,"children":3039},{"class":2547,"line":63},[3040,3045,3050],{"type":993,"tag":2545,"props":3041,"children":3042},{"style":2560},[3043],{"type":998,"value":3044},"    counter ",{"type":993,"tag":2545,"props":3046,"children":3047},{"style":2566},[3048],{"type":998,"value":3049},"+=",{"type":993,"tag":2545,"props":3051,"children":3052},{"style":2572},[3053],{"type":998,"value":3054}," 1\n",{"type":993,"tag":2545,"props":3056,"children":3057},{"class":2547,"line":72},[3058,3063],{"type":993,"tag":2545,"props":3059,"children":3060},{"style":2566},[3061],{"type":998,"value":3062},"    return",{"type":993,"tag":2545,"props":3064,"children":3065},{"style":2560},[3066],{"type":998,"value":3036},{"type":993,"tag":2545,"props":3068,"children":3069},{"class":2547,"line":81},[3070],{"type":993,"tag":2545,"props":3071,"children":3072},{"emptyLinePlaceholder":13},[3073],{"type":998,"value":3005},{"type":993,"tag":2545,"props":3075,"children":3076},{"class":2547,"line":91},[3077,3082,3087],{"type":993,"tag":2545,"props":3078,"children":3079},{"style":2572},[3080],{"type":998,"value":3081},"print",{"type":993,"tag":2545,"props":3083,"children":3084},{"style":2560},[3085],{"type":998,"value":3086},"(increment())  ",{"type":993,"tag":2545,"props":3088,"children":3089},{"style":2551},[3090],{"type":998,"value":3091},"# 1\n",{"type":993,"tag":2545,"props":3093,"children":3094},{"class":2547,"line":100},[3095,3099,3103],{"type":993,"tag":2545,"props":3096,"children":3097},{"style":2572},[3098],{"type":998,"value":3081},{"type":993,"tag":2545,"props":3100,"children":3101},{"style":2560},[3102],{"type":998,"value":3086},{"type":993,"tag":2545,"props":3104,"children":3105},{"style":2551},[3106],{"type":998,"value":3107},"# 2\n",{"type":993,"tag":2183,"props":3109,"children":3111},{"id":3110},"class-definition",[3112],{"type":998,"value":3113},"Class Definition",{"type":993,"tag":2536,"props":3115,"children":3117},{"className":2538,"code":3116,"language":6,"meta":8,"style":8},"class ClassName:\n    def __init__(self):\n        pass\n    \n    def method(self):\n        return value\n",[3118],{"type":993,"tag":1081,"props":3119,"children":3120},{"__ignoreMap":8},[3121,3137,3155,3163,3171,3187],{"type":993,"tag":2545,"props":3122,"children":3123},{"class":2547,"line":12},[3124,3128,3133],{"type":993,"tag":2545,"props":3125,"children":3126},{"style":2566},[3127],{"type":998,"value":1205},{"type":993,"tag":2545,"props":3129,"children":3130},{"style":3015},[3131],{"type":998,"value":3132}," ClassName",{"type":993,"tag":2545,"props":3134,"children":3135},{"style":2560},[3136],{"type":998,"value":2602},{"type":993,"tag":2545,"props":3138,"children":3139},{"class":2547,"line":27},[3140,3145,3150],{"type":993,"tag":2545,"props":3141,"children":3142},{"style":2566},[3143],{"type":998,"value":3144},"    def",{"type":993,"tag":2545,"props":3146,"children":3147},{"style":2572},[3148],{"type":998,"value":3149}," __init__",{"type":993,"tag":2545,"props":3151,"children":3152},{"style":2560},[3153],{"type":998,"value":3154},"(self):\n",{"type":993,"tag":2545,"props":3156,"children":3157},{"class":2547,"line":36},[3158],{"type":993,"tag":2545,"props":3159,"children":3160},{"style":2566},[3161],{"type":998,"value":3162},"        pass\n",{"type":993,"tag":2545,"props":3164,"children":3165},{"class":2547,"line":45},[3166],{"type":993,"tag":2545,"props":3167,"children":3168},{"style":2560},[3169],{"type":998,"value":3170},"    \n",{"type":993,"tag":2545,"props":3172,"children":3173},{"class":2547,"line":54},[3174,3178,3183],{"type":993,"tag":2545,"props":3175,"children":3176},{"style":2566},[3177],{"type":998,"value":3144},{"type":993,"tag":2545,"props":3179,"children":3180},{"style":3015},[3181],{"type":998,"value":3182}," method",{"type":993,"tag":2545,"props":3184,"children":3185},{"style":2560},[3186],{"type":998,"value":3154},{"type":993,"tag":2545,"props":3188,"children":3189},{"class":2547,"line":63},[3190,3195],{"type":993,"tag":2545,"props":3191,"children":3192},{"style":2566},[3193],{"type":998,"value":3194},"        return",{"type":993,"tag":2545,"props":3196,"children":3197},{"style":2560},[3198],{"type":998,"value":3199}," value\n",{"type":993,"tag":1006,"props":3201,"children":3203},{"id":3202},"important-notes",[3204],{"type":998,"value":3205},"Important Notes",{"type":993,"tag":2195,"props":3207,"children":3208},{},[3209,3219,3229,3239,3249],{"type":993,"tag":2199,"props":3210,"children":3211},{},[3212,3217],{"type":993,"tag":1062,"props":3213,"children":3214},{},[3215],{"type":998,"value":3216},"Case Sensitive",{"type":998,"value":3218},": All keywords are lowercase and case-sensitive",{"type":993,"tag":2199,"props":3220,"children":3221},{},[3222,3227],{"type":993,"tag":1062,"props":3223,"children":3224},{},[3225],{"type":998,"value":3226},"Reserved",{"type":998,"value":3228},": Cannot be used as identifiers (variable names, function names, etc.)",{"type":993,"tag":2199,"props":3230,"children":3231},{},[3232,3237],{"type":993,"tag":1062,"props":3233,"children":3234},{},[3235],{"type":998,"value":3236},"Version Specific",{"type":998,"value":3238},": Some keywords may be added in newer Python versions",{"type":993,"tag":2199,"props":3240,"children":3241},{},[3242,3247],{"type":993,"tag":1062,"props":3243,"children":3244},{},[3245],{"type":998,"value":3246},"Syntax Highlighting",{"type":998,"value":3248},": Most editors highlight keywords in different colors",{"type":993,"tag":2199,"props":3250,"children":3251},{},[3252,3257],{"type":993,"tag":1062,"props":3253,"children":3254},{},[3255],{"type":998,"value":3256},"Error Prevention",{"type":998,"value":3258},": Using keywords as identifiers will raise SyntaxError",{"type":993,"tag":3260,"props":3261,"children":3262},"style",{},[3263],{"type":998,"value":3264},"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":3266},[3267,3268,3278,3285],{"id":1008,"depth":27,"text":1011},{"id":2178,"depth":27,"text":2181,"children":3269},[3270,3271,3272,3273,3274,3275,3276,3277],{"id":2185,"depth":36,"text":2188},{"id":2240,"depth":36,"text":2243},{"id":2299,"depth":36,"text":2302},{"id":2341,"depth":36,"text":2344},{"id":2382,"depth":36,"text":2385},{"id":2423,"depth":36,"text":2426},{"id":2465,"depth":36,"text":2468},{"id":2498,"depth":36,"text":2501},{"id":2521,"depth":27,"text":2524,"children":3279},[3280,3281,3282,3283,3284],{"id":2527,"depth":36,"text":2530},{"id":2704,"depth":36,"text":2707},{"id":2851,"depth":36,"text":2302},{"id":2959,"depth":36,"text":2962},{"id":3110,"depth":36,"text":3113},{"id":3202,"depth":27,"text":3205},1782373753128]